User:Atarumaster88/global.js

// // // Scripts partially from User:Splarka/global.js // // 

// ***************************************************************** // Load various external scripts // ***************************************************************** function appendScript(url) { var scriptElem = document.createElement('script'); scriptElem.setAttribute('src',url); scriptElem.setAttribute('type','text/javascript'); document.getElementsByTagName('head')[0].appendChild(scriptElem); } appendScript('http://www.wikia.com/index.php?title=User:Splarka/contribtools.js&action=raw&ctype=text/javascript&dontcountme=s'); importScriptPage('FastDelete/code.js', 'dev'); appendScript('http://en.wikipedia.org/w/index.php?title=User:Zocky/SearchBox.js&action=raw&ctype=text/javascript&dontcountme=s');

// ***************************************************************** // Custom automatic delete buttons // ***************************************************************** // Adds customizable one-click deletion buttons to any deletable page. // Requires w:User:Splarka/fastdelete.js in appendScript; var fdButtons = []; fdButtons[fdButtons.length] = { 'summary': 'Spam', 'label': 's'};

fdButtons[fdButtons.length] = { 'summary': 'Vandalism', 'label': 'v'};

fdButtons[fdButtons.length] = { 'summary': 'Nonsense', 'label': 'n'};

//