User:Johanneswagener/common.js

e = document.createElement('link'); e.rel = "stylesheet"; e.type = "text/css"; e.href = "http://localhost:3000/assets/wikipedia.css"; document.body.appendChild(e)

mw.loader.load('http://localhost:3000/assets/wikipedia.js');