User script: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
(biltjuv.se)
m (Arantius moved page Category:User script to User script over a redirect without leaving a redirect: vandalism)
 
(33 intermediate revisions by 16 users not shown)
Line 1: Line 1:
won = document.body.innerHTML;
User scripts are programs which make on-the-fly changes to specific web pages, typically to change their appearance or to add or modify functionality.
won = won.split("Du vann ");
won = won[1];


blackjack = document.body.innerHTML;
User scripts for [[Greasemonkey]] and Greasemonkey-compatible alternatives are written in [http://developer.mozilla.org/en/docs/JavaScript JavaScript].
blackjack = blackjack.split("BLACKJACK! ");
If you would like to write user scripts yourself, see [[Greasemonkey Manual:Editing]].
blackjack = blackjack[1];
 
== See Also ==
* [[wikipedia:Augmented browsing|Augmented browsing at Wikipedia]]

Latest revision as of 23:58, 17 April 2024

User scripts are programs which make on-the-fly changes to specific web pages, typically to change their appearance or to add or modify functionality.

User scripts for Greasemonkey and Greasemonkey-compatible alternatives are written in JavaScript. If you would like to write user scripts yourself, see Greasemonkey Manual:Editing.

See Also