Skip to content

Instantly share code, notes, and snippets.

@Ventero
Created September 19, 2010 06:53
Show Gist options
  • Save Ventero/586499 to your computer and use it in GitHub Desktop.
Save Ventero/586499 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name FF4 window test
// @namespace ventero.de
// @include http://ventero.de/temp/test_gm_ff4.html
// ==/UserScript==
if(typeof window.functionInPageScope !== "undefined")
window.functionInPageScope();
/*
function functionInPageScope(){
alert("Caller:\n" + functionInPageScope.caller.toString());
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment