mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 10:12:06 -05:00
10 lines
312 B
JavaScript
10 lines
312 B
JavaScript
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 = "";
|
|
}
|
|
}) |