Created
October 6, 2009 10:49
-
-
Save fearphage/202922 to your computer and use it in GitHub Desktop.
allows you to open subframes outside of the frameset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @include http://zonaele.com/* | |
| // @include http://www.zonaele.com/* | |
| // ==/UserScript== | |
| (function(opera) { | |
| var needle = 'if (top == self)'; | |
| opera.addEventListener('BeforeScript' | |
| ,function(e) { | |
| var text = e.element.text; | |
| if (text.indexOf(needle) > -1) { | |
| e.element.text = text.replace(needle, '0 &&'); | |
| opera.removeEventListener('BeforeScript', arguments.callee, false); | |
| } | |
| } | |
| ,false | |
| ); | |
| })(this.opera); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment