mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-14 20:30:02 -04:00
Cookie Auth
This commit is contained in:
parent
4032f3f894
commit
46d9f8b684
2 changed files with 6 additions and 6 deletions
|
@ -22,6 +22,7 @@
|
|||
<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 src="expr/load.js"></script>
|
||||
<script src="expr/bp.js "></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -81,7 +82,7 @@
|
|||
<div class="input-group ">
|
||||
<div class="input-group-prepend"></div><input id="url" class="bg-dark border rounded-0 border-info shadow-sm form-control form-control-lg " type="text" name="url" style="width: 194px;font-family:
|
||||
'Montserrat Alternates', sans-serif;opacity: 0.80; color:rgb(255,255,255); " placeholder="Insert URL ">
|
||||
<div class="input-group-append "><button id="nprox" 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:
|
||||
<div class="input-group-append "><button id="nprox" class="btn btn-dark btn-lg bg-dark border rounded-0 border-info shadow-lg select " data-bs-hover-animate="pulse " name="button" 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>
|
||||
|
@ -159,7 +160,6 @@
|
|||
<script src="assets/js/jquery.min.js "></script>
|
||||
<script src="assets/bootstrap/js/bootstrap.min.js "></script>
|
||||
<script src="assets/js/bs-init.js "></script>
|
||||
<script src="expr/bp.js "></script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -7,7 +7,7 @@ $('nprox').onclick = function() {
|
|||
var det = document.domain;
|
||||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
window.location.href = "https://a." + domain + "/call/" + url;
|
||||
document.cookie = '_nu_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=lax; domain=.' + auth + '; path=/; secure;';
|
||||
document.cookie = 'nu_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=none; domain=.' + auth + '; path=/; secure;';
|
||||
return false;
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,7 @@ $('pdprox').onclick = function() {
|
|||
var det = document.domain;
|
||||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
window.location.href = "https://pd." + domain + "/course/" + url;
|
||||
document.cookie = '_pd_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=lax; domain=.' + auth + '; path=/; secure;';
|
||||
document.cookie = 'pd_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=none; domain=.' + auth + '; path=/; secure;';
|
||||
return false;
|
||||
};
|
||||
|
||||
|
@ -25,13 +25,13 @@ $('pmprox').onclick = function() {
|
|||
var det = document.domain;
|
||||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
||||
window.location.href = "https://p." + domain + "/" + url;
|
||||
document.cookie = '_pm_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=lax; domain=.' + auth + '; path=/; secure;';
|
||||
document.cookie = 'pm_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=none; domain=.' + auth + '; path=/; secure;';
|
||||
return false;
|
||||
};
|
||||
|
||||
// AL Auth
|
||||
$('al').onclick = function() {
|
||||
document.cookie = '_al_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=lax; domain=.' + auth + '; path=/; secure;';
|
||||
document.cookie = 'al_auth=yes; expires=' + (Date.now() + 259200) + '; sameSite=none; domain=.' + auth + '; path=/; secure;';
|
||||
return false;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue