Skip to content

Instantly share code, notes, and snippets.

@XP1
Created August 15, 2011 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save XP1/1147900 to your computer and use it in GitHub Desktop.
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.
// ==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));
@XP1
Copy link
Author

XP1 commented Aug 17, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment