mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-16 05:00:02 -04:00
Fixed Local Alloy Proxy
This commit is contained in:
parent
52b3c6010c
commit
c75766130a
1 changed files with 0 additions and 5 deletions
|
@ -9,11 +9,6 @@ function $(id) {
|
||||||
//};
|
//};
|
||||||
|
|
||||||
$('al').onclick = function() {
|
$('al').onclick = function() {
|
||||||
var url = $('url').value;
|
|
||||||
var det = document.domain;
|
|
||||||
var domain = det.replace('www.', '').split(/[/?#]/)[0];
|
|
||||||
const origin = btoa(url)
|
|
||||||
window.location.href = "https://cdn." + domain + "/fetch/utils/?url=" + origin;
|
|
||||||
document.cookie = '__alloy_cookie_auth=yes; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
document.cookie = '__alloy_cookie_auth=yes; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue