diff --git a/adventure-capitalist/icon.png b/adventure-capitalist/icon.png index 04501d4e..6dd756f5 100644 Binary files a/adventure-capitalist/icon.png and b/adventure-capitalist/icon.png differ diff --git a/burritobison/index.html b/burritobison/index.html index 2cec96c7..72434a1b 100644 --- a/burritobison/index.html +++ b/burritobison/index.html @@ -2,6 +2,7 @@ + Burrito Bison Launcha Libre Unblocked
Loading...
Loading...
I Wanna Be Thy Copy TAS Tool - + diff --git a/js/all.js b/js/all.js index 73106ff4..4a9525b5 100644 --- a/js/all.js +++ b/js/all.js @@ -22,6 +22,11 @@ function setCloak() { } panicMode(); } +if (getCookie("debugging") == 1) { + const debugscript = document.createElement("script"); + debugscript.setAttribute("src", "/js/debug.js"); + document.head.append(debugscript); +} function getCookie(cname) { let name = cname + "="; let decodedCookie = decodeURIComponent(document.cookie); @@ -45,24 +50,29 @@ function panicMode() { } const pressed = []; const secretCode = "safemode"; + const debugCode = "debugplz" window.addEventListener("keyup", (e) => { pressed.push(e.key); pressed.splice(-secretCode.length - 1, pressed.length - secretCode.length); if (pressed.join("").includes(secretCode)) { window.location.href = panicurl; + } else if (pressed.join("").includes(debugCode)) { + if (getCookie("debugging") == 1) { + document.cookie = "debugging=0;"; + alert("debugging off!") + } else { + document.cookie = "debugging=1"; + alert("debugging on!") + } } }); } - +const head = document.getElementsByTagName('head')[0]; window.onload = function() { setCloak(); - if (!$) { - var head = document.getElementsByTagName('head')[0]; - var script = document.createElement('script'); - script.type = 'text/javascript'; - script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js'; - head.appendChild(script); - } + var jquery = document.createElement('script'); + jquery.type = 'text/javascript'; + jquery.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js'; const gscript = document.createElement("script"); gscript.setAttribute("async", ""); gscript.setAttribute("src", "https://www.googletagmanager.com/gtag/js?id=G-XVTVBR1D5V"); @@ -71,7 +81,7 @@ window.onload = function() { function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-98DP5VKS42');`; - document.head.append(gscript, ingscript); + document.head.append(gscript, ingscript, jquery); } defer(function () { diff --git a/js/debug.js b/js/debug.js new file mode 100644 index 00000000..31195d13 --- /dev/null +++ b/js/debug.js @@ -0,0 +1,4 @@ +window.onerror = function(msg, url, linenumber) { + alert('Error message: '+msg+'\nURL: '+url+'\nLine Number: '+linenumber); + return true; +} \ No newline at end of file diff --git a/js/search.js b/js/search.js index 00b5c68a..7af67e3c 100644 --- a/js/search.js +++ b/js/search.js @@ -3,7 +3,7 @@ $(document).ready(function () { $("#games .game").hide(); var txt = $("#gamesearch").val(); $("#games .game").each(function () { - if ($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1) { + if (($(this).text().toUpperCase().indexOf(txt.toUpperCase()) != -1) || ($(this).attr("id").toUpperCase().indexOf(txt.toUpperCase()) != -1)) { $(this).show(); } }); diff --git a/littlealchemy/index.html b/littlealchemy/index.html index 0aa11a13..9908e9b0 100644 --- a/littlealchemy/index.html +++ b/littlealchemy/index.html @@ -5,7 +5,7 @@ [endif]--> - Little Alchemy | lbannana + Little Alchemy +