Skip to content

Instantly share code, notes, and snippets.

@arantius
Created July 19, 2012 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arantius/3143842 to your computer and use it in GitHub Desktop.
Save arantius/3143842 to your computer and use it in GitHub Desktop.
Require Test
function library() {
console.log('The library function defined in a @require script works!');
}
// ==UserScript==
// @name Require Test
// @namespace http://arantius.com/misc/greasemonkey/
// @description Test @require libraries.
// @include http*
// @require https://raw.github.com/gist/3143842/require-library.js
// @version 1
// @grant none
// ==/UserScript==
library();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment