mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-13 12:00:02 -04:00
Added Chatbox
This commit is contained in:
parent
f5d9539d09
commit
b9e47f1c20
3 changed files with 66 additions and 0 deletions
36
public/expr/ch.js
Normal file
36
public/expr/ch.js
Normal file
|
@ -0,0 +1,36 @@
|
|||
function $(id) {
|
||||
return document.getElementById(id);
|
||||
};
|
||||
|
||||
//AL
|
||||
// $('al').onclick = function() {
|
||||
// document.cookie = '__alloy_cookie_auth=yes; expires=' + (Date.now() + 259200) + '; SameSite=None; domain=.' + auth + '; path=/; Secure;';
|
||||
// return false;
|
||||
//};
|
||||
|
||||
window.onload = function() {
|
||||
var url = $('url').value;
|
||||
var det = document.domain;
|
||||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
const origin = btoa(url)
|
||||
window.location.href = "https://c" + domain + "/app";
|
||||
document.cookie = '__chauth=yes; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||
return false;
|
||||
};
|
||||
|
||||
// Cookie Auth
|
||||
var host = location.hostname.split('.');
|
||||
var auth = location.hostname;
|
||||
if (host.length == 3) {
|
||||
auth = `${host[1]}.${host[2]}`;
|
||||
}
|
||||
|
||||
Array.from(document.getElementsByTagId('button')).forEach(e => {
|
||||
e.addEventListener('click', () => {
|
||||
document.cookie = 'session; max-age=259200; SameSite=None; domain=' + auth + '; path=/; Secure;';
|
||||
});
|
||||
});
|
||||
|
||||
window.onload = function() {
|
||||
$('url').focus();
|
||||
}
|
|
@ -39,6 +39,7 @@
|
|||
<li class="nav-item" role="presentation"><a class="nav-link" href="/g.html" style="font-family: 'Montserrat Alternates', sans-serif;">Gam<wbr>es</a></li>
|
||||
<li class="nav-item" role="presentation"><a class="nav-link" href="/y.html" style="font-family: 'Montserrat Alternates', sans-serif;">You<wbr>Tube</a></li>
|
||||
<li class="nav-item" role="presentation"><a class="nav-link" href="/p.html" style="font-family: 'Montserrat Alternates', sans-serif;">Disc<wbr>ord</a></li>
|
||||
<li class="nav-item" role="presentation"><a class="nav-link" href="/n.html" style="font-family: 'Montserrat Alternates', sans-serif;">Chatb<wbr>ox</a></li>
|
||||
<li class="nav-item dropdown"><a class="dropdown-toggle nav-link" data-toggle="dropdown" aria-expanded="false" href="#" style="opacity: 0.80;color: rgb(255,255,255);font-family: 'Montserrat Alternates', sans-serif;">More</a>
|
||||
<div class="dropdown-menu" role="menu" style="background-color: rgb(33,30,30);font-family: 'Titillium Web', sans-serif;padding: 17%;padding-top: 10%;padding-bottom: 10%;"><a class="dropdown-item text-left text-white-50" role="presentation" href="/k.html" style="color: rgb(255,255,255);padding: 0%;font-family: Lato, sans-serif;">Krunker</a><a class="dropdown-item text-left text-white-50"
|
||||
role="presentation" href="/info.html" style="color: rgb(255,255,255);padding: 0%;font-family: Lato, sans-serif;">Docs</a><a class="dropdown-item text-white-50" role="presentation" href="/c.html" style="color: rgb(255,255,255);padding: 0%;font-family: Lato, sans-serif;">Credits</a></div>
|
||||
|
|
29
public/n.html
Normal file
29
public/n.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<!-- Important: Use ​ to mess with keywords. -->
|
||||
<title>H​oly Unb​loc​ke​r</title>
|
||||
<meta name="description" content="G​et p​ast in​te​r​net ce​n​s​or​sh​ip tod​a​y!
|
||||
|
||||
:D">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="assets/img/i.png">
|
||||
<style type="text/css">
|
||||
body,
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- AL YT -->
|
||||
<script src="/expr/ch.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue