Update js/main.js

This commit is contained in:
LEGALISE_PIRACY 2024-03-12 01:47:47 +00:00
parent e9bf31725f
commit b3ee0fb033

View File

@ -148,7 +148,8 @@ getCurrentTime();
setInterval(getCurrentTime, 900);
$(function() { $('.game').on('error', function() { $(this).attr('src', decodeURIComponent(atob('aHR0cHM6Ly93ZWIuYXJjaGl2ZS5vcmcvd2ViLzIwMjQwMzEyMDA1NTQ3aWZfL2h0dHBzOi8vbmF0ZS1nYW1lcy5jb20vc3RhdGljL2ltYWdlLXBsYWNlaG9sZGVyLnN2Zw=='))); }); });
$(document).ready(function(){$("#webicon").attr("placeholder",window.location.href);});
$(document).ready(function(){if(!window.location.href.startsWith('about:')){$("#webicon").attr("placeholder",window.location.href.replace(/\/[^\/]*$/,'/'));}});
let cookieConsentScript = document.createElement("script");
cookieConsentScript.src = "/js/cookieConsent.js";