Difference between revisions of "User:Certified nqh/common.js"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(Created page with "alert("THIS IS WORKING GRAAAAAAAAAAAAAAH");")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
alert("THIS IS WORKING GRAAAAAAAAAAAAAAH");
+
function update(){
 +
alert("AAAAAAAAA");
 +
}
 +
const why = document.createElement("button");
 +
document.body.insertBefore(why, document.getElementById("mw_content");
 +
why.appendChild(document.createTextNode("PAIN"));
 +
why.onclick(update);

Latest revision as of 00:05, 10 November 2023

function update(){
 alert("AAAAAAAAA");
}
const why = document.createElement("button");
document.body.insertBefore(why, document.getElementById("mw_content");
why.appendChild(document.createTextNode("PAIN"));
why.onclick(update);