My Technical Notes

Friday, 15 February 2013

Referencing other js files in GreaseMonkey

Currently, the only way I know of doing this is to copy the file localjs.js to the same folder as the script being editted and then adding the following line to the script file:

// @require  localjs.js

No comments: