User:Wiki.Tango.Foxtrot/monobook.js

// User:Lupin/popups.js mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'             + '&action=raw&ctype=text/javascript&dontcountme=s'); // User:Outriggr/metadatatest.js importScript('User:Outriggr/metadatatest.js'); assessmentMyTemplateCode = ["", "", ""]; assessmentDefaultProject = "WikiProject Pharmacology"; // // open external links in new window. $(function {   var alinks = document.getElementsByTagName("a");    var tablink;    for (var i = 0, leng = alinks.length; i < leng; i++) {        tablink = alinks[i];        if (/\bexternal\b/.test(tablink.className) && tablink.href.indexOf("http://en.wikipedia.org") != 0)            tablink.target = "_tab";    } }); // view user rights on user pages. $(function{ if(wgCanonicalNamespace[0] != 'U') return; t = 'Userrights';  url = wgScript + '?title=Special:Listusers&limit=1&username=' + wgTitle.replace(/\/.*$/,'');  r = document.createElement('li'); a = document.createElement("a");  a.setAttribute("title", t); a.setAttribute("href", url); a.innerHTML = t;  r.setAttribute('id', 't-' + t); r.appendChild(a);  u = document.getElementById('t-upload');  u.parentNode.insertBefore(r, u);   }); // display online/offline status. importScript('User:TheDJ/qui.js');