Created
August 1, 2012 16:05
-
-
Save arantius/3228230 to your computer and use it in GitHub Desktop.
Greasemonkey Variable Names Test
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 Var X Equals | |
// @namespace http://github.com/arantius | |
// @include http://localhost/infinite.php* | |
// @version 1 | |
// @unwrap | |
// @grant GM_log | |
// ==/UserScript== | |
// Note @unwrap to trigger this in Greasemonkey versions before 1.0 betas. | |
// Note @grant to force sandbox evaluation in 1.0 betas. Remove it to test content scope evaluation. | |
// Context: https://github.com/greasemonkey/greasemonkey/issues/1592 | |
// readonly attributes from nsIDOMWindow.idl | |
var applicationCache = 'foo'; | |
var closed = 'foo'; | |
var content = 'foo'; | |
var controllers = 'foo'; | |
var crypto = 'foo'; | |
var document = 'foo'; | |
var frameElement = 'foo'; | |
var frames = 'foo'; | |
var history = 'foo'; | |
var length = 'foo'; | |
var localStorage = 'foo'; | |
var location = 'foo'; | |
var locationbar = 'foo'; | |
var menubar = 'foo'; | |
var mozAnimationStartTime = 'foo'; | |
var mozInnerScreenX = 'foo'; | |
var mozInnerScreenY = 'foo'; | |
var mozPaintCount = 'foo'; | |
var navigator = 'foo'; // -> redeclaration of const in GM 0.9.x | |
var pageXOffset = 'foo'; | |
var pageYOffset = 'foo'; | |
var parent = 'foo'; | |
var performance = 'foo'; | |
var personalbar = 'foo'; | |
var pkcs11 = 'foo'; | |
var prompter = 'foo'; | |
var realFrameElement = 'foo'; | |
var realParent = 'foo'; | |
var realTop = 'foo'; | |
var screen = 'foo'; | |
var scrollbars = 'foo'; | |
var scrollMaxX = 'foo'; | |
var scrollMaxY = 'foo'; | |
var scrollX = 'foo'; | |
var scrollY = 'foo'; | |
var self = 'foo'; | |
var sessionStorage = 'foo'; | |
var statusbar = 'foo'; | |
var toolbar = 'foo'; | |
var top = 'foo'; | |
var URL = 'foo'; | |
var window = 'foo'; // -> redeclaration of const in GM 0.9.x | |
var windowRoot = 'foo'; | |
// Manually added. | |
var sidebar = 'foo'; |
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 Var X | |
// @namespace http://github.com/arantius | |
// @include http://localhost/infinite.php* | |
// @version 1 | |
// @unwrap | |
// @grant GM_log | |
// ==/UserScript== | |
// Note @unwrap to trigger this in Greasemonkey versions before 1.0 betas. | |
// Note @grant to force sandbox evaluation in 1.0 betas. Remove it to test content scope evaluation. | |
// Context: https://github.com/greasemonkey/greasemonkey/issues/1592 | |
// readonly attributes from nsIDOMWindow.idl | |
var applicationCache; | |
var closed; | |
var content; | |
var controllers; | |
var crypto; | |
var document; | |
var frameElement; | |
var frames; | |
var history; | |
var length; | |
var localStorage; | |
var location; | |
var locationbar; | |
var menubar; | |
var mozAnimationStartTime; | |
var mozInnerScreenX; | |
var mozInnerScreenY; | |
var mozPaintCount; | |
var navigator; // -> redeclaration of const in GM 0.9.x | |
var pageXOffset; | |
var pageYOffset; | |
var parent; | |
var performance; | |
var personalbar; | |
var pkcs11; | |
var prompter; | |
var realFrameElement; | |
var realParent; | |
var realTop; | |
var screen; | |
var scrollbars; | |
var scrollMaxX; | |
var scrollMaxY; | |
var scrollX; | |
var scrollY; | |
var self; | |
var sessionStorage; | |
var statusbar; | |
var toolbar; | |
var top; | |
var URL; | |
var window; // -> redeclaration of const in GM 0.9.x | |
var windowRoot; | |
// Manually added. | |
var sidebar; |
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 X Equals | |
// @namespace http://github.com/arantius | |
// @include http://localhost/infinite.php* | |
// @version 1 | |
// @unwrap | |
// @grant GM_log | |
// ==/UserScript== | |
// Note @unwrap to trigger this in Greasemonkey versions before 1.0 betas. | |
// Note @grant to force sandbox evaluation in 1.0 betas. Remove it to test content scope evaluation. | |
// Context: https://github.com/greasemonkey/greasemonkey/issues/1592 | |
// readonly attributes from nsIDOMWindow.idl | |
applicationCache = 'foo'; | |
closed = 'foo'; | |
content = 'foo'; | |
controllers = 'foo'; | |
crypto = 'foo'; | |
document = 'foo'; | |
frameElement = 'foo'; | |
frames = 'foo'; | |
history = 'foo'; | |
length = 'foo'; | |
localStorage = 'foo'; | |
location = 'foo'; | |
locationbar = 'foo'; | |
menubar = 'foo'; | |
mozAnimationStartTime = 'foo'; | |
mozInnerScreenX = 'foo'; | |
mozInnerScreenY = 'foo'; | |
mozPaintCount = 'foo'; | |
navigator = 'foo'; // -> redeclaration of const in GM 0.9.x | |
pageXOffset = 'foo'; | |
pageYOffset = 'foo'; | |
parent = 'foo'; | |
performance = 'foo'; | |
personalbar = 'foo'; | |
pkcs11 = 'foo'; | |
prompter = 'foo'; | |
realFrameElement = 'foo'; | |
realParent = 'foo'; | |
realTop = 'foo'; | |
screen = 'foo'; | |
scrollbars = 'foo'; | |
scrollMaxX = 'foo'; | |
scrollMaxY = 'foo'; | |
scrollX = 'foo'; | |
scrollY = 'foo'; | |
self = 'foo'; | |
sessionStorage = 'foo'; | |
statusbar = 'foo'; | |
toolbar = 'foo'; | |
top = 'foo'; | |
URL = 'foo'; | |
window = 'foo'; // -> redeclaration of const in GM 0.9.x | |
windowRoot = 'foo'; | |
// Manually added. | |
sidebar = 'foo'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment