Contridentuallity

Not a fact, a theory!?

How To : Greasemonkey in Opera

, , , ,

Great news!!! You can run Greasemonkey scripts in Opera as well (not only firefox). In fact...you don't even need to install the Greasemonkey extension (which obviously you can't do in Opera). Let's get started on this.

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 bigsmile

Good luck and enjoy!
If you have any comments or suggestions, please feel free to post them here.

Free Google Pagerank ScriptNew Forum : Lost-in-Code.com

Comments

Jadd Monday, February 19, 2007 12:51:32 PM

Since userjs.org has been abandoned to rot on the Internet, we have to download greasemonkey scripts from userscripts.org
When we download Greasemonkey scripts, why not comment that they work in Opera?

Antonie PotgieterContrid Monday, February 19, 2007 1:01:28 PM

Are you saying that they should let users know that it works in Opera as well? If so...i'm not sure why they don't...maybe they're part of the FireFox fan club.

Douglasdouglas9 Wednesday, May 9, 2007 10:06:41 AM

Can you recommend another site to find 'monkey' scripts....userscripts.org....isn't any good.....thanks.

Claudio Raiterititor Wednesday, July 30, 2008 7:54:36 AM

not at all

BrianRedSaint Saturday, February 28, 2009 4:29:29 PM

Aren't there some functions which only works in Greasemonkey and not Opera? And the other way around as well?

Philip Luluminair Thursday, March 5, 2009 11:52:51 PM

Desn't work, getting this error message:
=======================================================================
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'
=======================================================================

Johan Larssonjohanlarsson Monday, July 13, 2009 8:14:57 PM

If someone understands why this script doesn't work, please explain. And preferably fix it too, please! smile It looks like it's so simple that someone that have even just a little experience could fix it.

// ==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);

broken slavebrokenslave Monday, July 13, 2009 9:15:02 PM

So I'm trying to use this to use scripts in ikariam that were written for greasemonkey, and I've done every step, and none of the scripts are working... is there anything else I can do, or am missing to make it happen?

TurgutCULTurgut Sunday, September 5, 2010 1:31:03 AM

Originally posted by brokenslave:

So I'm trying to use this to use scripts in ikariam that were written for greasemonkey, and I've done every step, and none of the scripts are working... is there anything else I can do, or am missing to make it happen?



There is something you can do about it...just add the Emulate GM Functions user script http://www.howtocreate.co.uk/operaStuff/userjs/aagmfunctions.js to ur script folder. It provides some missing functions used by most of the popular user scripts

Prefer late if not at all ;D

Master RipRapmasterriprap Saturday, September 11, 2010 6:41:18 AM

ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^LET'S ROB THI$ BANK^^^^$$$$

Boratoryamilov Thursday, November 4, 2010 12:49:23 PM

Thank You!

MatthewOniii Thursday, December 16, 2010 8:11:50 AM

Ah!
I still can't do this!
These userscripts aren't working at all. I have no idea what to do.

alexbg Sunday, January 16, 2011 1:10:07 AM

yes I'm having the same problem matthew :/

Boratoryamilov Monday, January 17, 2011 9:25:10 AM

In opera11 everything is working automatically good )

zerman-tom Friday, April 22, 2011 8:27:12 AM

Great tutorial! today i found another cool german how-to for installing greasemonkey-scripts in opera here: http://www.solife.cc/blog/greasemonkey-scripts-in-opera-einbinden.html

archit3x Tuesday, August 9, 2011 8:22:25 AM

great trick! work well on my opera
thanks up

ifaistosifaistos747 Monday, January 16, 2012 11:37:50 AM

Not working for me. sad

ifaistosifaistos747 Monday, January 16, 2012 11:56:48 AM

Write a comment

New comments have been disabled for this post.

May 2013
S M T W T F S
April 2013June 2013
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31