Created
August 15, 2011 21:22
-
-
Save XP1/1147900 to your computer and use it in GitHub Desktop.
Fix Oracle E-Business Suite: Returns true for Gecko detection in Opera. Allows Java applet to run.
This file contains 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 Fix Oracle E-Business Suite | |
// @version 1.01 | |
// @description Returns true for Gecko detection in Opera. Allows Java applet to run. | |
// @author XP1 (https://github.com/XP1/) | |
// @namespace https://gist.github.com/1147900/ | |
// @include http*://ebs.host.com/* | |
// @include http*://*.ebs.host.com/* | |
// ==/UserScript== | |
/*jslint browser: true, vars: true, white: true, maxerr: 50, indent: 4 */ | |
(function (opera) | |
{ | |
"use strict"; | |
opera.defineMagicVariable("isG", function isGDefinition(currentValue) | |
{ | |
return true; | |
}, null); | |
}(this.opera)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I posted this user JS in this thread:
Oracle R12 E-business suite not launching java forms:
http://my.opera.com/community/forums/topic.dml?id=1072062