This commit is contained in:
RobinNixon
2021-04-18 15:31:38 +01:00
parent f63a81074d
commit 188af22a54
224 changed files with 79 additions and 2241 deletions
+15
View File
@@ -0,0 +1,15 @@
<script>
onerror = errorHandler
document.writ("Welcome to this website") // Deliberate error ... writ(
function errorHandler(message, url, line)
{
out = "Sorry, an error was encountered.\n\n";
out += "Error: " + message + "\n";
out += "URL: " + url + "\n";
out += "Line: " + line + "\n\n";
out += "Click OK to continue.\n\n";
alert(out);
return true;
}
</script>