User:Quarl/hide own.js
// User:Quarl/hide_own.js - change the "my watchlist" navigation button to default to hide own.
// based on http://en.wikipedia.org/wiki/Wikipedia:WikiProject_User_scripts/Scripts/hideOwn.js
//
function hideOwn () {
for (var i=0; i
l = document.links[i];
// note: text *is* capitalized in source, but rendered lowercase
if (l.text == 'My watchlist' && l.href.indexOf('Special:Watchlist')>0) {
l.href+='?hideOwn=1';
break;
}
}
}
$(hideOwn);
//