User:EnIRtpf09b/scripts/BadPageDetector.js

/* */ //Under development function addLink { mw.util.addPortletLink(		'p-personal',		mw.util.getUrl('User:EnIRtpf09b/scripts/BadPageDetector/run'),		'BadPageDetector',		'pt-bpd',		'BadPageDetector',		 null,		'#pt-preferences'	); } function click { if (!location.href.includes("User:EnIRtpf09b/scripts/BadPageDetector/run")) { addLink; return; } document.head.innerHTML = ' #startbtn {background-color: blue; border-radius: 3px; border:none; color: white; padding: 15px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px;} #startbtn:hover {background-color:grey;} BadPageDetector '; document.body.innerHTML = 'Source BadPageDetector Created by EnIRtpf09b. BadPageDetector is a tool for finding inappropriate pages that may need to be deleted, draftified, et cetra and perform the action on the page. Run BadPageDetector '; } click; function startInt { document.head.innerHTML = " #queue {overflow-y: auto; max-height: 100px; text-align:center;} #pginfo { text-align: center; /*border-style: solid; border-radius: 10px;*/}#pgtitle{font-size: 20px;}.blacklink {color: #000000;} Contributions  •  Talk  )    "; } /* */