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 FF4 window test | |
// @namespace ventero.de | |
// @include http://ventero.de/temp/test_gm_ff4.html | |
// ==/UserScript== | |
if(typeof window.functionInPageScope !== "undefined") | |
window.functionInPageScope(); | |
/* |
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
<html> | |
<body> | |
<script type="text/javascript" src="resource://greasemonkey/config.js"></script> | |
<script type="text/javascript"> | |
if (typeof Config !== "undefined") { | |
alert("You have Greasemonkey (branch firefox4-addonstab) installed"); | |
} else if ("gmIGreasemonkeyService" in Components.interfaces) { | |
alert("You have Greasemonkey <= 0.8 installed"); | |
} else { | |
alert("No Greasemonkey detected"); |
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 Issue 1081 | |
// @namespace gm | |
// @include * | |
// ==/UserScript== | |
var xhr = GM_xmlhttpRequest({ | |
method: "GET", | |
url: "http://www.github.com" | |
}); |
NewerOlder