MyWiki:WikiProject User scripts/Scripts/hideOwn.js

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by imported>Tra at 23:02, 29 December 2007 (Protected Wikipedia:WikiProject User scripts/Scripts/hideOwn.js: to avoid security being compromised on user script [edit=sysop:move=sysop]). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

//This script is obsolete: You can also set this in your personal settings on Special:Preferences

//


//hideOwn

addOnloadHook(function () {
  for (var i=0; i<document.links.length; ++i) {
    if (document.links[i].href.indexOf('Special:Watchlist')>0) {
      document.links[i].href+='?hideOwn=1';
      break;
    }
  }
});

//