Template:RawWikiUserscript

From GreaseSpot Wiki
Revision as of 16:59, 2 February 2010 by Rod McGuire (talk | contribs) (defined)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

1

Usage

Gives a link to the raw text of a wiki userscript in a form that when clicked will cause a running Greasemonkey to try to install it.

{{RawWikiUserscript User:Rod_McGuire/dataschemetest.u.js dataschemetest}}
=>
<span class="plainlinks"> [http://wiki.greasespot.net/index.php?title=User:Rod_McGuire/dataschemetest.u.js&action=raw&ctype=text/javascript&US=dataschemetest.user.js dataschemetest]</span>

The specific parameter &US is not important. As far as Greasemonkey is concerned the only important thing is that the URL ends in .user.js.

Template:RawWikiUserscript User:Rod McGuire/dataschemetest.u.js dataschemetest