Wikipedia:WikiProject User scripts/Scripts/Unwatch: Difference between revisions
Content deleted Content added
m enchanced -> enhanced |
fix bug in enhanced mode |
||
Line 14:
if (div.tagName.toLowerCase() == 'div') { // enhanced recent changes
// this is all tag soup, we just have to wade through it :-(
for (var node = div.firstChild; node; node = node.nextSibling) {
//
if (!
var
▲ unwatch.href = "/w/index.php?title=Special:Watchlist&action=submit&remove=1&id[]="+encodeURIComponent(pagename);
▲ div.insertBefore(unwatch, node);
}
}
else if (div.tagName.toLowerCase() == 'ul') { // unenhanced recent changes
|