linux n00b

How to get Google Services working with Opera

Posted in Desktop, Howto, Knowledge Base by downforce on April 23, 2007

I found this on the Opera forums whilst looking how to report bad sites.

There is in Opera the ability to create UserJS or userjavascript. I haven’t fully researched how it works, but taken from their Opera UserJS Tutorial:

User JavaScript allows you to specify local JavaScript files for Opera to include on every page that you visit.

User JavaScript can be used for many purposes, including:

  • Fixing broken scripts on Web pages
  • Enhancing Web pages by changing or adding your own content to the page
  • Controlling what scripts are allowed to run on a page, and what they are allowed to do
  • Simplifying bookmarklets by adding functions they depend on to the User JavaScript
  • So with that a nice guy called xErath wrote a UserJS which fixes Opera with UserJS! There forum thread is here.

    Basically, here is what to do:

  • Download his script and save it somewhere where your Opera can access it. I created a new directory ~/.opera/userjs/.
  • In Opera go to Preferences or press CTRL-F12.
  • Go to Content -> JavaScript Options
  • In User JavaScript files enter /home/user/.opera/userjs/ (where user is your username)
  • Goto and it’ll work!
  • All credit goes to xErath. Thanks for the script!

    Leave a Reply

    Fill in your details below or click an icon to log in: Logo

    You are commenting using your account. Log Out /  Change )

    Google photo

    You are commenting using your Google account. Log Out /  Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out /  Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out /  Change )

    Connecting to %s

    %d bloggers like this: