Wikipedia:WikiProject User scripts/Scripts/Edit Top: Difference between revisions
Content deleted Content added
David Levy (talk | contribs) m minor tweak |
David Levy (talk | contribs) further tweaking |
||
Line 31:
// if this is preview page or generated page, stop
if(document.getElementById("wikiPreview") || window.___location.href.indexOf("/wiki/Special:") != -1) return;
// if this is a revision history, stop
if(document.getElementById("histlegend") || window.___location.href.indexOf("/wiki/Special:") != -1) return;
// if this is a watchlist, stop
if(document.getElementById("watchdetails") || window.___location.href.indexOf("/wiki/Special:") != -1) return;
// if this is the main page, stop
|