mirror of
https://gitlab.com/skysthelimit.dev/selenite.git
synced 2025-06-15 18:12:08 -05:00
panic mode
This commit is contained in:
parent
a9a28b48ac
commit
df0a8efb53
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-us">
|
<html lang="en-us">
|
||||||
<head>
|
<head>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta
|
<meta
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<ul><li><a href="./index.html">Home</a></li><li><a href="./bookmarklets.html">Bookmarklets</a></li><li><a href="https://forms.gle/iBAbXvEDaYTLuEcdA">Suggestions</a></li><li><a href="https://github.com/skysthelimitt/e-gamepass">Source Code</a></li><li><a href="./cloak.html">Tab Cloak</a></li></ul>
|
<ul><li><a href="./index.html">Home</a></li><li><a href="./bookmarklets.html">Bookmarklets</a></li><li><a href="https://forms.gle/iBAbXvEDaYTLuEcdA">Suggestions</a></li><li><a href="https://github.com/skysthelimitt/e-gamepass">Source Code</a></li><li><a href="./settings.html">Settings</a></li><li><a id="panicmode">Panic Mode</a></li></ul>
|
||||||
|
|
||||||
<h2>Bookmarklets</h2>
|
<h2>Bookmarklets</h2>
|
||||||
|
|
||||||
|
19
index.html
19
index.html
@ -21,10 +21,26 @@
|
|||||||
<script src="./js/cookie.js"></script>
|
<script src="./js/cookie.js"></script>
|
||||||
<script src="./js/games.js"></script>
|
<script src="./js/games.js"></script>
|
||||||
<script src="./js/search.js"></script>
|
<script src="./js/search.js"></script>
|
||||||
|
<script>
|
||||||
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
Toastify({
|
||||||
|
text: 'Type "safemode" while in any game to return to Google! Change the website in the settings.',
|
||||||
|
duration: 3000,
|
||||||
|
gravity: "top", // `top` or `bottom`
|
||||||
|
position: "left", // `left`, `center` or `right`
|
||||||
|
style: {
|
||||||
|
background: "linear-gradient(42deg, rgba(36, 69, 128, 1) 100%, rgb(24, 17, 87) 0%)",
|
||||||
|
width: "25%",
|
||||||
|
},
|
||||||
|
onClick: function(){} // Callback after click
|
||||||
|
}).showToast();
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<ul><li><a href="./index.html">Home</a></li><li><a href="./bookmarklets.html">Bookmarklets</a></li><li><a href="https://forms.gle/iBAbXvEDaYTLuEcdA">Suggestions</a></li><li><a href="https://github.com/skysthelimitt/e-gamepass">Source Code</a></li><li><a href="./cloak.html">Tab Cloak</a></li></ul>
|
<ul><li><a href="./index.html">Home</a></li><li><a href="./bookmarklets.html">Bookmarklets</a></li><li><a href="https://forms.gle/iBAbXvEDaYTLuEcdA">Suggestions</a></li><li><a href="https://github.com/skysthelimitt/e-gamepass">Source Code</a></li><li><a href="./settings.html">Settings</a></li><li><a id="panicmode">Panic Mode</a></li></ul>
|
||||||
|
|
||||||
<input class="hiddenUpload" type="file" accept=".save" hidden>
|
<input class="hiddenUpload" type="file" accept=".save" hidden>
|
||||||
|
|
||||||
@ -35,7 +51,6 @@
|
|||||||
<p id="gamecounter"></p>
|
<p id="gamecounter"></p>
|
||||||
<input type="text" id="gamesearch" placeholder="Type here to search.."> <br>
|
<input type="text" id="gamesearch" placeholder="Type here to search.."> <br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<div id="games"></div>
|
<div id="games"></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
19
js/all.js
19
js/all.js
@ -38,6 +38,25 @@ function getCookie(cname) {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function panicMode() {
|
||||||
|
if ($("#panicmode").length > 0) {
|
||||||
|
panicurl = getCookie("panicurl")
|
||||||
|
if (panicurl == "") {
|
||||||
|
panicurl = "https://google.com"
|
||||||
|
}
|
||||||
|
$("#panicmode").prop({href: panicurl})
|
||||||
|
}
|
||||||
|
const pressed = [];
|
||||||
|
const secretCode = 'safemode';
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
setCloak();
|
setCloak();
|
||||||
|
panicMode();
|
||||||
});
|
});
|
@ -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" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<title>OvO</title>
|
<title>OvO</title>
|
||||||
|
@ -19,24 +19,41 @@
|
|||||||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
|
||||||
<script src="/js/cloak.js"></script>
|
<script src="/js/cloak.js"></script>
|
||||||
|
<script>
|
||||||
|
function setPanicMode() {
|
||||||
|
if(!$("#panic").val().startsWith("https")) {
|
||||||
|
document.cookie = "panicurl=https://" + $("#panic").val();return;
|
||||||
|
}
|
||||||
|
|
||||||
|
document.cookie = "panicurl=" + $("#panic").val();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<ul><li><a href="./index.html">Home</a></li><li><a href="./bookmarklets.html">Bookmarklets</a></li><li><a href="https://forms.gle/iBAbXvEDaYTLuEcdA">Suggestions</a></li><li><a href="https://github.com/skysthelimitt/e-gamepass">Source Code</a></li><li><a href="./cloak.html">Tab Cloak</a></li></ul>
|
<ul><li><a href="./index.html">Home</a></li><li><a href="./bookmarklets.html">Bookmarklets</a></li><li><a href="https://forms.gle/iBAbXvEDaYTLuEcdA">Suggestions</a></li><li><a href="https://github.com/skysthelimitt/e-gamepass">Source Code</a></li><li><a href="./settings.html">Settings</a></li><li><a id="panicmode">Panic Mode</a></li></ul>
|
||||||
|
|
||||||
<input class="hiddenUpload" type="file" accept=".save" hidden>
|
<input class="hiddenUpload" type="file" accept=".save" hidden>
|
||||||
|
|
||||||
|
|
||||||
<div class="title"><img src="./favicon.png" style="width:4%;"><h2 style="font-size:50px">e-gamepass</h2></div>
|
<div class="title"><img src="./favicon.png" style="width:4%;"><h2 style="font-size:50px">e-gamepass</h2></div>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
<form action="javascript:setPanicMode();">
|
||||||
|
<h3 for="panic">Website URL</h3><br>
|
||||||
|
<input type="text" id="panic" name="panic" placeholder="https://google.com"><br>
|
||||||
|
<input id="panic" class="submit" type="submit" value="Set Panic Mode">
|
||||||
|
</form>
|
||||||
<br>
|
<br>
|
||||||
<form action="javascript:setCloakCookie();">
|
<form action="javascript:setCloakCookie();">
|
||||||
<h3 for="webname">Website Name</h3><br>
|
<h3 for="webname">Website Name</h3><br>
|
||||||
<input type="text" id="webname" name="webname" placeholder="e-gamepass"><br>
|
<input type="text" id="webname" name="webname" placeholder="e-gamepass"><br>
|
||||||
<h3 for="webicon">Website Icon</h3><br>
|
<h3 for="webicon">Website Icon</h3><br>
|
||||||
<input type="text" id="webicon" name="webicon" placeholder="https://egamepass.pages.dev/"><br><br>
|
<input type="text" id="webicon" name="webicon" placeholder="https://egamepass.pages.dev/"><br><br>
|
||||||
<input id="websubmit" type="submit" value="Set Tab Cloak">
|
<input id="websubmit" class="submit" type="submit" value="Set Tab Cloak">
|
||||||
</form>
|
</form>
|
||||||
<button onclick="javascript:clearCloak();">Clear your current tab cloak</button>
|
<button onclick="javascript:clearCloak();">Clear your current tab cloak</button>
|
||||||
<br>
|
<br>
|
@ -189,7 +189,7 @@ h3 {
|
|||||||
color: #8daad8;
|
color: #8daad8;
|
||||||
}
|
}
|
||||||
|
|
||||||
#websubmit {
|
.submit {
|
||||||
background-color: rgba(89, 110, 177, 0.5);
|
background-color: rgba(89, 110, 177, 0.5);
|
||||||
color: #8daad8;
|
color: #8daad8;
|
||||||
border: 2px solid #527ac4bb ;
|
border: 2px solid #527ac4bb ;
|
||||||
@ -204,7 +204,7 @@ h3 {
|
|||||||
text-underline-position: under;
|
text-underline-position: under;
|
||||||
opacity: 70%;
|
opacity: 70%;
|
||||||
}
|
}
|
||||||
#websubmit:hover {
|
.submit:hover {
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
opacity: 90%;
|
opacity: 90%;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html manifest="offline.appcache">
|
<html manifest="offline.appcache">
|
||||||
<head>
|
<head>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<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>ThereIsNoGame</title>
|
<title>ThereIsNoGame</title>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<html style="background-color: white;">
|
<html style="background-color: white;">
|
||||||
<head>
|
<head>
|
||||||
|
<script src="/js/all.js"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="interface.css" />
|
<link rel="stylesheet" type="text/css" href="interface.css" />
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
@ -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 http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user