User:Jivee Blau/monobook.js

// adapted from: Olliminatore/monobook.js //importScript('User:Ilmari_Karonen/fixdiffwidth.js'); // User:Ilmari_Karonen/fixdiffwidth.js if (document.URL.indexOf("&diff=",29)>0) addOnloadHook(function { // DIFF WIDTH FIX: v1.1 upd.: only if needed set max.width  var diffT = document.getElementById("bodyContent"),  diffTable = diffT.getElementsByTagName("table")[0];  var diffT = diffTable.getElementsByTagName("tr")[0].getElementsByTagName("td"),  diffo = diffT[0], diffn = diffT[1],  diffoWidth = diffo.clientWidth,  diffnWidth = diffn.clientWidth;  if (diffnWidth==diffoWidth) return;  diffT = (diffnWidth + diffoWidth)/2;  diffTable.setAttribute("width", ((diffoWidth < diffnWidth)? diffnWidth: diffoWidth) +diffT+12); }); importScript('User:PDD/markAdmins.js'); // User:PDD/markAdmins.js //importScript('User:Cacycle/diff.js'); // User:Cacycle/diff text diff code //importScript('User:Pilaf/livepreview.js'); // User:Pilaf/Live_Preview page preview tool //importScript('User:Cacycle/wikEd.js'); // User:Cacycle/wikEd edit tool importScript('User:Ilmari_Karonen/sigdash.js'); // User:Ilmari_Karonen/sigdash.js // importScript('User:Olliminatore/sign.js'); // User:Olliminatore/sign.js check & automate signing importScript('User:Invitatious/unsigned2.js'); // User:Invitatious/unsigned2.js importScript('User:Zocky/SearchBox.js'); // User:Zocky/SearchBox.js /* extended search & replace feature  */ // importScript('User:Lupin/popups.js'); // User:Lupin/popups.js