Created
October 16, 2010 19:30
-
-
Save erikvold/630185 to your computer and use it in GitHub Desktop.
This file contains hidden or 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== | |
// @id [email protected] | |
// @name Resource Test | |
// @namespace test | |
// @include * | |
// @resource text http://erikvold.com/robots.txt | |
// @resource ico http://erikvold.com/favicon.ico | |
// ==/UserScript== | |
alert(GM_getResourceText("text")); | |
alert(GM_getResourceURL("ico")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment