User:Joe Decker/monobook.js: Difference between revisions
Content deleted Content added
Joe Decker (talk | contribs) x |
Joe Decker (talk | contribs) no longer needed (gadget avail.) |
||
Line 1: | Line 1: | ||
importScript('User:Mr.Z-man/closeAFD.js'); |
|||
if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i) ) { |
if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i) ) { |
Revision as of 23:19, 14 April 2021
if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/iPad/i) ) {
var styleEle = document.getElementsByTagName("head")[0].appendChild(document.createElement("style"));
styleEle.sheet.insertRule(".mw-rollback-link { display: none; }", 0);
}
function refcheck() { addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py?page=" + wgPageName + "&citeweb=on", "Check Refs"); }