Jump to content

User:Iamunknown/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Iamunknown (talk | contribs) at 03:31, 5 April 2007 (add back in important things). 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.
// <pre><nowiki>

importScript('User:Howcheng/quickimgdelete.js');
importScript('User:Interiot/Tool2/code.js');                     //Interiot's javascript edit counter
importScript('User:HighInBC/FU remove.js');
importScript('User:Lupin/popups.js');                            // [[w:User:Lupin/popups.js]]
importScript('Wikipedia:WikiProject User scripts/Scripts/Time'); // Add date and time to your monobook "personal menu" list at the very top of the page.

// Death to editing on redlinks //
// From [[User:Essjay/monobook.js]]...he is amazing //
function stopRedlinksEditing(){ 
    var len=document.links.length;
    for(var i=0; i<len; ++i) {
        var l=document.links[i];
        if (l.className=='new') {
            l.href=l.href.replace('&action=edit', '');
        }
    }
}
addOnloadHook(stopRedlinksEditing);

// </nowiki></pre>