User:SkSlick/common.js

mw.loader.load( '/w/index.php?title=User:%CE%A3/Testing_facility/Archiver.js&action=raw&ctype=text/javascript' ); // Backlink: User:Σ/Testing facility/Archiver

function removeElementById(ids) { ids.forEach(function (id) {		var el = document.getElementById(id)		if (el){ 			el.remove			console.log('[wikiscript]: removed \ + id + '\)		}	}) } var ids = ['jswarning', 'twinkle-config-headerbox', 'mw-userjspreview', 'mw-script-doc']
 * setTimeout(removeElementById, 10, ids)

// this script requires ES6 support to function correctly. mw.loader.load("http://127.0.0.1:8080/src/css.css", 'text/css') import('http://127.0.0.1:8080/main.js') .catch(console.log)