add /js/all.js to some games and overall basic housekeeping + maybe debug script?
Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 27 KiB |
@ -2,6 +2,7 @@
|
|||||||
<html lang="en-us">
|
<html lang="en-us">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Burrito Bison Launcha Libre Unblocked</title>
|
<title>Burrito Bison Launcha Libre Unblocked</title>
|
||||||
<style>
|
<style>
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Clicker Heroes Unblocked</title>
|
<title>Clicker Heroes</title>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||||
<meta name="generator" content="Construct 3">
|
<meta name="generator" content="Construct 3">
|
||||||
<meta name="author" content="frank">
|
<meta name="author" content="frank">
|
||||||
|
Before Width: | Height: | Size: 430 KiB After Width: | Height: | Size: 33 KiB |
BIN
fnaf/splash.jpeg
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 9.1 KiB |
@ -1,6 +1,6 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "ADOFAI",
|
"name": "A Dance of Fire and Ice",
|
||||||
"directory": "adofai",
|
"directory": "adofai",
|
||||||
"image": "icon.png",
|
"image": "icon.png",
|
||||||
"recommended": "1"
|
"recommended": "1"
|
||||||
@ -529,7 +529,7 @@
|
|||||||
"image": "splash.jpg"
|
"image": "splash.jpg"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "FNAF",
|
"name": "Five Nights at Freddy's",
|
||||||
"directory": "fnaf",
|
"directory": "fnaf",
|
||||||
"image": "splash.jpeg"
|
"image": "splash.jpeg"
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>I Wanna Be Thy Copy TAS Tool</title>
|
<title>I Wanna Be Thy Copy TAS Tool</title>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<script src="iwbtc-all.js"></script>
|
<script src="iwbtc-all.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
|
28
js/all.js
@ -22,6 +22,11 @@ function setCloak() {
|
|||||||
}
|
}
|
||||||
panicMode();
|
panicMode();
|
||||||
}
|
}
|
||||||
|
if (getCookie("debugging") == 1) {
|
||||||
|
const debugscript = document.createElement("script");
|
||||||
|
debugscript.setAttribute("src", "/js/debug.js");
|
||||||
|
document.head.append(debugscript);
|
||||||
|
}
|
||||||
function getCookie(cname) {
|
function getCookie(cname) {
|
||||||
let name = cname + "=";
|
let name = cname + "=";
|
||||||
let decodedCookie = decodeURIComponent(document.cookie);
|
let decodedCookie = decodeURIComponent(document.cookie);
|
||||||
@ -45,24 +50,29 @@ function panicMode() {
|
|||||||
}
|
}
|
||||||
const pressed = [];
|
const pressed = [];
|
||||||
const secretCode = "safemode";
|
const secretCode = "safemode";
|
||||||
|
const debugCode = "debugplz"
|
||||||
window.addEventListener("keyup", (e) => {
|
window.addEventListener("keyup", (e) => {
|
||||||
pressed.push(e.key);
|
pressed.push(e.key);
|
||||||
pressed.splice(-secretCode.length - 1, pressed.length - secretCode.length);
|
pressed.splice(-secretCode.length - 1, pressed.length - secretCode.length);
|
||||||
if (pressed.join("").includes(secretCode)) {
|
if (pressed.join("").includes(secretCode)) {
|
||||||
window.location.href = panicurl;
|
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() {
|
window.onload = function() {
|
||||||
setCloak();
|
setCloak();
|
||||||
if (!$) {
|
var jquery = document.createElement('script');
|
||||||
var head = document.getElementsByTagName('head')[0];
|
jquery.type = 'text/javascript';
|
||||||
var script = document.createElement('script');
|
jquery.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js';
|
||||||
script.type = 'text/javascript';
|
|
||||||
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js';
|
|
||||||
head.appendChild(script);
|
|
||||||
}
|
|
||||||
const gscript = document.createElement("script");
|
const gscript = document.createElement("script");
|
||||||
gscript.setAttribute("async", "");
|
gscript.setAttribute("async", "");
|
||||||
gscript.setAttribute("src", "https://www.googletagmanager.com/gtag/js?id=G-XVTVBR1D5V");
|
gscript.setAttribute("src", "https://www.googletagmanager.com/gtag/js?id=G-XVTVBR1D5V");
|
||||||
@ -71,7 +81,7 @@ window.onload = function() {
|
|||||||
function gtag(){dataLayer.push(arguments);}
|
function gtag(){dataLayer.push(arguments);}
|
||||||
gtag('js', new Date());
|
gtag('js', new Date());
|
||||||
gtag('config', 'G-98DP5VKS42');`;
|
gtag('config', 'G-98DP5VKS42');`;
|
||||||
document.head.append(gscript, ingscript);
|
document.head.append(gscript, ingscript, jquery);
|
||||||
}
|
}
|
||||||
|
|
||||||
defer(function () {
|
defer(function () {
|
||||||
|
4
js/debug.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
window.onerror = function(msg, url, linenumber) {
|
||||||
|
alert('Error message: '+msg+'\nURL: '+url+'\nLine Number: '+linenumber);
|
||||||
|
return true;
|
||||||
|
}
|
@ -3,7 +3,7 @@ $(document).ready(function () {
|
|||||||
$("#games .game").hide();
|
$("#games .game").hide();
|
||||||
var txt = $("#gamesearch").val();
|
var txt = $("#gamesearch").val();
|
||||||
$("#games .game").each(function () {
|
$("#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();
|
$(this).show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
[endif]--><head>
|
[endif]--><head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<title>Little Alchemy | lbannana</title>
|
<title>Little Alchemy</title>
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="A simple but addictive game. Start with four basic items and use them to find dinosaurs, unicorns and spaceships!"
|
content="A simple but addictive game. Start with four basic items and use them to find dinosaurs, unicorns and spaceships!"
|
||||||
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 15 KiB |
@ -11,6 +11,7 @@
|
|||||||
<meta property="og:title" content="Resent 1.8" />
|
<meta property="og:title" content="Resent 1.8" />
|
||||||
<meta property="og:description" content="Resent 1.8" />
|
<meta property="og:description" content="Resent 1.8" />
|
||||||
<link type="image/png" rel="shortcut icon" href="favicon.png" id="favicon"/>
|
<link type="image/png" rel="shortcut icon" href="favicon.png" id="favicon"/>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<script type="text/javascript" src="classes.js"></script>
|
<script type="text/javascript" src="classes.js"></script>
|
||||||
<script type="text/javascript" src="fix-webm-duration.js"></script>
|
<script type="text/javascript" src="fix-webm-duration.js"></script>
|
||||||
<style>
|
<style>
|
||||||
|
Before Width: | Height: | Size: 521 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 335 KiB After Width: | Height: | Size: 30 KiB |
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<title>Stickman Hook</title>
|
<title>Stickman Hook</title>
|
||||||
<meta
|
<meta
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Turbowarp Links</title>
|
<title>Turbowarp Links</title>
|
||||||
|