diff --git a/public/js/403.js b/public/js/403.js new file mode 100644 index 0000000..3375ed0 --- /dev/null +++ b/public/js/403.js @@ -0,0 +1,16 @@ +var time = 5; + +function redirect() { + window.location.replace("https://morblox.us"); +} + +function countdown() { + if (time > 0) { + time--; + document.getElementById('timeElement').innerHTML = time; + console.log(time); + } +} + +setInterval(countdown, 1000); +setTimeout(redirect, 5000); \ No newline at end of file diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php index d3aaffe..46e10af 100644 --- a/resources/views/errors/403.blade.php +++ b/resources/views/errors/403.blade.php @@ -14,6 +14,7 @@ +
OH SHIT WHAT HAVE YOU DONE GO BACK NOW BEFORE LUIGI KILLS US ALL!!!!!!
-Luigi: I AM GOING TO KILL EVERYONE IN {{ #a timer counts down to 0 here, when it reaches 0 redirect the client }}!
+Luigi: I AM GOING TO KILL EVERYONE IN 5