Created
September 18, 2011 01:08
-
-
Save miya2000/1224551 to your computer and use it in GitHub Desktop.
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== | |
| // @name Google Web Fonts - for Opera12 | |
| // @author miya2000 | |
| // @include http://www.google.com/webfonts | |
| // ==/UserScript== | |
| (function(){ | |
| opera.addEventListener('BeforeScript', function(e) { | |
| var script = e.element; | |
| if (/\.cache\.js$/.test(script.src)) { | |
| script.text = script.text.replace(/"keypress"/g, '\\"keypress\\"'); | |
| } | |
| }, false); | |
| })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment