first commit
This commit is contained in:
10
js/debug.js
Normal file
10
js/debug.js
Normal file
@ -0,0 +1,10 @@
|
||||
window.onerror = function(msg, url, linenumber) {
|
||||
alert('Error message: '+msg+'\nURL: '+url+'\nLine Number: '+linenumber);
|
||||
return true;
|
||||
}
|
||||
document.addEventListener("keydown", function (e) {
|
||||
if(listofchars.includes("runsomejs")) {
|
||||
alert(eval(prompt("js?")));
|
||||
listofchars = "";
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user