Last active
August 29, 2015 14:26
-
-
Save arantius/55449c978ceae58f9e9c to your computer and use it in GitHub Desktop.
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 GM_rmc Test 1 | |
// @namespace https://github.com/arantius | |
// @include http* | |
// @version 1 | |
// @grant GM_registerMenuCommand | |
// @run-at document-start | |
// ==/UserScript== | |
dump('GM_rmc Test 1\n'); | |
GM_registerMenuCommand( | |
'GM_rmc Test, http, -start', function(){ alert('OK!'); } | |
); |
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 GM_rmc Test 2 | |
// @namespace https://github.com/arantius | |
// @include http* | |
// @version 1 | |
// @grant GM_registerMenuCommand | |
// @run-at document-end | |
// ==/UserScript== | |
dump('GM_rmc Test 2\n'); | |
GM_registerMenuCommand( | |
'GM_rmc Test, http, -end', function(){ alert('OK!'); } | |
); |
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 GM_rmc Test 3 | |
// @namespace https://github.com/arantius | |
// @include about:blank | |
// @version 1 | |
// @grant GM_registerMenuCommand | |
// @run-at document-start | |
// ==/UserScript== | |
dump('GM_rmc Test 3\n'); | |
GM_registerMenuCommand( | |
'GM_rmc Test, about:blank, -start', function(){ alert('OK!'); } | |
); |
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 GM_rmc Test 4 | |
// @namespace https://github.com/arantius | |
// @include about:blank | |
// @version 1 | |
// @grant GM_registerMenuCommand | |
// @run-at document-end | |
// ==/UserScript== | |
dump('GM_rmc Test 4\n'); | |
GM_registerMenuCommand( | |
'GM_rmc Test, about:blank, -end', function(){ alert('OK!'); } | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment