User:WooperIsBest/common.js

loadModule("Snake.js"); loadModule("ShowMessage.js"); loadModule("Autocorrect.js");

function loadModule(scriptLocation){ this.jQuery.getScript("https://wooper-sandbox.fandom.com/wiki/User:WooperIsBest/" + scriptLocation + "?action=raw&ctype=text/javascript"); }

document.addEventListener("click", function{	new mw.Api.create({ action: "edit", text: "Page Content", summary: "Edit Summary", title: "Page Title", minor: false }).then(function(r) { console.log(r); alert("test"); }, console.warn); });