Jump to content

User:GregAsche/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by GregAsche (talk | contribs) at 02:19, 24 October 2005 (removing godmode-light, don't need it any more). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
function RcHideUsers()
{
        var li = document.getElementById( 'n-recentchanges' );
        if ( ! li ) return; // sanity check
        li.appendChild( document.createTextNode( ' ' ) );
        var a = document.createElement( 'a' );
        a.href = '/w/index.php?title=Special:Recentchanges&hideliu=1&limit=100';
        a.appendChild( document.createTextNode( 'Hide' ) );
        li.appendChild( a );
}
if ( window.addEventListener ) window.addEventListener( 'load', RcHideUsers, false );
else if ( window.attachEvent ) window.attachEvent( 'onload', RcHideUsers );


// [[User:Lupin/popups.js]] - please include this line 

document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js' 
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');