Wikipedia:WikiProject User scripts/Scripts/Watchlist since: Difference between revisions

Content deleted Content added
Add a 60 second overlap to cater for server lag
change source to syntaxhighlight
 
(2 intermediate revisions by one other user not shown)
Line 1:
// Adds a "Changes since last load" link to your watchlist. <sourcesyntaxhighlight lang="Javascript">
 
addOnloadHook(function () {
if (!mw.config.get('wgCanonicalSpecialPageName') || mw.config.get('wgCanonicalSpecialPageName') != "Watchlist") return;
if (!document.forms[0] || !document.forms[0].namespace) return;
 
Line 33:
});
 
//</sourcesyntaxhighlight>