User script: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
(biltjuv.se)
No edit summary
(31 intermediate revisions by 15 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]]

Revision as of 16:37, 3 November 2017

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