Final
This commit is contained in:
RobinNixon
2020-12-10 13:51:38 +00:00
parent 53063593e3
commit 3bc0bb7409
280 changed files with 0 additions and 0 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>