User talk:Joeytwiddle

From GreaseSpot Wiki
Jump to navigationJump to search

Suggestions

It could be useful to have one extra meta tag:

Template:Core samp

The loadlib meta would cause Greasemonkey to load the specified script from the user's gm_scripts/ folder before running the userscript which contained the meta.

This would allow us to define a library script of common functions which we can re-use in any of our userscripts, simply by adding the meta. These library scripts are always loaded from a trusted source, they are local userscripts which do nothing when run alone.