mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-15 12:50:01 -04:00
Updated Proxy Scripts + Cookie Auth
This commit is contained in:
parent
4b61e31619
commit
1aedff75f5
12 changed files with 49 additions and 9 deletions
|
@ -75,17 +75,17 @@
|
||||||
</script>
|
</script>
|
||||||
<div class="d-flex align-items-center order-12" style="height:200px;">
|
<div class="d-flex align-items-center order-12" style="height:200px;">
|
||||||
<div class="container border rounded text-center justify-content-center align-items-center button" style="color: rgb(255,255,255);filter: blur(0px); opacity: 0.95;">
|
<div class="container border rounded text-center justify-content-center align-items-center button" style="color: rgb(255,255,255);filter: blur(0px); opacity: 0.95;">
|
||||||
<form id="scontainer" action="/home/session" method="POST">
|
<form id="scontainer" onkeydown="al()" action="/home/session" method="POST">
|
||||||
<p style="font-size: 46px;">Alloy Proxy</p>
|
<p style="font-size: 46px;">Alloy Proxy</p>
|
||||||
<p style="font-family: 'Montserrat Alternates', sans-serif;">A fast, lightweight proxy developed by Titanium Network.</p>
|
<p style="font-family: 'Montserrat Alternates', sans-serif;">A fast, lightweight proxy developed by Titanium Network.</p>
|
||||||
<div onkeydown="nu()" class="input-group" id="scontainer">
|
<div class="input-group">
|
||||||
<div class="input-group-prepend"></div><input class="bg-dark border rounded-0 border-info shadow-sm form-control form-control-lg" type="text" id="url" name="url" inputmode="url" style="width: 194px;font-family: 'Montserrat Alternates', sans-serif;opacity: 0.80; color:rgb(255,255,255);"
|
<div class="input-group-prepend"></div><input class="bg-dark border rounded-0 border-info shadow-sm form-control form-control-lg" type="text" id="url" name="url" inputmode="url" style="width: 194px;font-family: 'Montserrat Alternates', sans-serif;opacity: 0.80; color:rgb(255,255,255);"
|
||||||
placeholder="Insert URL">
|
placeholder="Insert URL">
|
||||||
<div class="input-group-append"><button id="al" method="GET" class="btn btn-dark btn-lg bg-dark border rounded-0 border-info shadow-lg select" data-bs-hover-animate="pulse" type="submit" style="width: 78px;padding: 8px;margin: 0px;height: 46.126px;font-family: 'Montserrat Alternates', sans-serif;font-size: 16px;">Go</button></div>
|
<div class="input-group-append"><button id="al" method="GET" class="btn btn-dark btn-lg bg-dark border rounded-0 border-info shadow-lg select" data-bs-hover-animate="pulse" type="submit" style="width: 78px;padding: 8px;margin: 0px;height: 46.126px;font-family: 'Montserrat Alternates', sans-serif;font-size: 16px;">Go</button></div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<script>
|
<script>
|
||||||
var header = document.getElementById("pc");
|
var header = document.getElementById("scontainer");
|
||||||
var btns = header.getElementsByClassName("al");
|
var btns = header.getElementsByClassName("al");
|
||||||
for (var i = 0; i < btns.length; i++) {
|
for (var i = 0; i < btns.length; i++) {
|
||||||
btns[i].addEventListener("click", function() {});
|
btns[i].addEventListener("click", function() {});
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
||||||
<script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script>
|
<script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script>
|
||||||
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script>
|
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script>
|
||||||
<script src="expr/load.js"></script>
|
<script src="expr/nuload.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
<script src="assets/js/jquery.min.js "></script>
|
<script src="assets/js/jquery.min.js "></script>
|
||||||
<script src="assets/bootstrap/js/bootstrap.min.js "></script>
|
<script src="assets/bootstrap/js/bootstrap.min.js "></script>
|
||||||
<script src="assets/js/bs-init.js "></script>
|
<script src="assets/js/bs-init.js "></script>
|
||||||
<script src="expr/bp.js "></script>
|
<script src="expr/nubp.js "></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -21,7 +21,7 @@
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
||||||
<script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script>
|
<script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script>
|
||||||
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script>
|
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script>
|
||||||
<script src="expr/pdl.js"></script>
|
<script src="expr/pdload.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
26
public/expr/albp.js
Normal file
26
public/expr/albp.js
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
function $(id) {
|
||||||
|
return document.getElementById(id);
|
||||||
|
};
|
||||||
|
|
||||||
|
//NU
|
||||||
|
$('nprox').onclick = function() {
|
||||||
|
document.cookie = 'nu_auth=yes; expires=' + (Date.now() + 259200) + '; SameSite=None; 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.getElementsByTagName('button')).forEach(e => {
|
||||||
|
e.addEventListener('click', () => {
|
||||||
|
document.cookie = 'session; max-age=259200; SameSite=None; domain=' + auth + '; path=/; Secure;';
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
window.onload = function() {
|
||||||
|
$('url').focus();
|
||||||
|
}
|
10
public/expr/alload.js
Normal file
10
public/expr/alload.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
//NU Load
|
||||||
|
function al() {
|
||||||
|
$('url').focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
function on() {
|
||||||
|
window.onbeforeunload = function() {
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,6 +2,7 @@ function $(id) {
|
||||||
return document.getElementById(id);
|
return document.getElementById(id);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
//NU
|
||||||
$('nprox').onclick = function() {
|
$('nprox').onclick = function() {
|
||||||
var url = $('url').value;
|
var url = $('url').value;
|
||||||
var det = document.domain;
|
var det = document.domain;
|
|
@ -1,3 +1,4 @@
|
||||||
|
//NU Load
|
||||||
function nu() {
|
function nu() {
|
||||||
$('url').focus();
|
$('url').focus();
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
function $(id) {
|
function $(id) {
|
||||||
return document.getElementById(id);
|
return document.getElementById(id);
|
||||||
};
|
};
|
||||||
|
//PD
|
||||||
$('pdprox').onclick = function() {
|
$('pdprox').onclick = function() {
|
||||||
var url = $('url').value;
|
var url = $('url').value;
|
||||||
var det = document.domain;
|
var det = document.domain;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
//PD Load
|
||||||
function pd() {
|
function pd() {
|
||||||
$('url').focus();
|
$('url').focus();
|
||||||
}
|
}
|
|
@ -1,7 +1,7 @@
|
||||||
function $(id) {
|
function $(id) {
|
||||||
return document.getElementById(id);
|
return document.getElementById(id);
|
||||||
};
|
};
|
||||||
|
//PM Load
|
||||||
$('pmprox').onclick = function() {
|
$('pmprox').onclick = function() {
|
||||||
var url = $('url').value;
|
var url = $('url').value;
|
||||||
var det = document.domain;
|
var det = document.domain;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
//PM Load
|
||||||
function pm() {
|
function pm() {
|
||||||
$('url').focus();
|
$('url').focus();
|
||||||
}
|
}
|
|
@ -21,7 +21,7 @@
|
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
|
||||||
<script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script>
|
<script type="module" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.esm.js"></script>
|
||||||
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script>
|
<script nomodule="" src="https://unpkg.com/ionicons@5.1.2/dist/ionicons/ionicons.js"></script>
|
||||||
<script src="expr/pml.js"></script>
|
<script src="expr/pmload.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue