How To : Greasemonkey in Opera
Sunday, 11. February 2007, 03:41:15
Start off by downloading a Greasemonkey script which you would like to use. If this file's name doesn't end on "*.user.js" then you'd better rename it so that the file ends with "user.js". If it doesn't, then Opera won't recognize and load the file. See the example shot below :

Now you need to tell Opera where this file is located at...together with all your other custom JavaScript files. You have the ability to choose any local folder/directory on your computer. In order to set this, go to 'Tools > Preferences... > Advanced > Content > JavaScript Options...' in your Opera browser. See the screenshot below :
See the bottom browse/file box?
When you click the "Choose..." button, you'll need to navigate to the folder where you keep your custom JavaScript files which needs to be loaded by Opera.
Now...ensure that you copy/paste all your custom JavaScript files to this folder/directory you specified. Once that's done, you may now restart the Opera browser and test the Greasemonkey script(s). Off course...this won't be Greasemonkey anymore. Let's call it OperaMonkey
Good luck and enjoy!
If you have any comments or suggestions, please feel free to post them here.
















Jadd # 19. February 2007, 12:51
When we download Greasemonkey scripts, why not comment that they work in Opera?
Contrid # 19. February 2007, 13:01
douglas9 # 9. May 2007, 10:06
titor # 30. July 2008, 07:54
RedSaint # 28. February 2009, 16:29
luminair # 5. March 2009, 23:52
=======================================================================
JavaScript - http://s3.travian.tw/dorf1.php
Event thread: load
Error:
name: ReferenceError
message: Statement on line 189: Undefined variable: GM_addStyle
Backtrace:
Line 189 of User JS script : In function functionMain
GM_addStyle(cssStyle);
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'
=======================================================================
francisu # 2. April 2009, 14:43
http://www.howtocreate.co.uk/operaStuff/userJavaScript.html#compatibility
johanlarsson # 13. July 2009, 20:14
// ==UserScript==
// @name Flashback forums offsite link fixer
// @namespace http://henrik.nyh.se
// @description Replaces the Flashback.info forums' offsite links redirect page with the actual page linked.
// @include https://*flashback.info/leave.php?*
// ==/UserScript==
// Replace in history so we're not bounced back again when using the back button
location.replace(document.links[1].href);
// ==UserScript==
// @name Flashback forums offsite link fixer
// @namespace http://henrik.nyh.se
// @description Replaces the Flashback.info forums' offsite links redirect page with the actual page linked.
// @include https://*flashback.info/leave.php?*
// ==/UserScript==
// Replace in history so we're not bounced back again when using the back button
location.replace(document.links[1].href);
brokenslave # 13. July 2009, 21:15