Skip to content

Instantly share code, notes, and snippets.

@XP1
Created August 15, 2011 21:22
Show Gist options
  • 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