Handy User Javascripts for Opera

Here is a treat for you Opera n00bs! If you don’t know already, Opera 8 started allowing users to add scripts (javascript) to a directory on their local machine. With these scripts, users can do just about anything! One example of how Opera ASA uses scripts in a positive way is that every single computer with Opera on it has a file in the settings folder called browser.js. This file contains javascript functions that Opera uses to correct pages with faulty javascript code.

You can take advantage of this wonderful feature and save some javascript files to your machine that add features such as Google Suggests (which is a drop down menu with suggestions based on what you are typing). This userjs (user javascript) file adds this functionality to all google pages for you! There are also spell checkers and one very important userjs file that patches all google services so they are more cooperative with Opera. Here is a list of what you can get..

  • Google Suggests
  • Google Services Patch
  • Google Thumbnail Image Direct Links
  • No Click to Activate for Flash Items
  • Inline OSpell Checker
    To use these userjs files follow the steps listed below inorder to enable your Opera to use userjs files.

    1. Find the directory that you installed Opera to. If you are on a windows machine then this is most likely in ‘C:\Program Files\Opera’.
    2. After finding the install folder, create a new folder inside of the install folder called ‘userjs’. You should now have the following folder: ‘C:\Program Files\Opera\userjs’
    3. Open Opera. Click on ‘Tools -> Preferences… -> Advanced -> Content -> JavaScript options…’. Now, at the bottom of this window you should see ‘User Javascript Options’ with an input box and a button below it. Click the ‘Choose…’ button and select the userjs folder that you created.
    4. Now click OK to save changes in the JavaScript options window. Click OK once more to save changes to the Preferences window.
    5. Now that you’ve finished setting up Opera to use your userjs files, just start saving the once you want Opera to use in the userjs folder that you created! To get the scripts that I mentioned above just click on them. If you want more you can check:

There is also a video available that you can use to guide you through setting up UserJS with Opera for the first time. Here is the link: video!

Enjoy!

Edit (10th Jun 07):
Here are some more useful userjs files you can use:

Leave a Reply

Your email address will not be published. Required fields are marked *