User:Karl Dickman/modern.js

//Create 'importScript' function:

function importScript(s) {   mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:' + s + '.js&action=raw&ctype=text/javascript'); }//endfunct

//==XEB== myButtons = {   'Mm':['http://upload.wikimedia.org/wikipedia/commons/f/fd/Button_blockquote.png','Insert block of quoted text','"','"','Block quote'], 'Ba':['http://upload.wikimedia.org/wikipedia/commons/1/13/Button_enter.png','Line break','','all'] };

rmEditButtons = ['all']; XEBOrder = "0,1,U,S,I1,I2,J1,J2,2,P1,3,4,A,5,AI,G,6,7,8,9,FS,10,V,H,O,P,T,Z,TL,Y1,Y2,K,B,D,C,D1,F,Q,W,X,L,R1,R2,R3,R4,N"; importScript('MarkS/extraeditbuttons');//User:MarkS/extraeditbuttons.js

//Shrink search box function shrinkBox {   searchInput = document.getElementById("searchInput"); searchInput.size = 15 }//endfunct if(window.addEventListener) window.addEventListener("load", shrinkBox, false); else if(window.attachEvent) window.attachEvent("onload", shrinkBox);