mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-16 05:00:02 -04:00
Minor Edit (again)
This commit is contained in:
parent
208a3169b7
commit
268d749b0c
2 changed files with 3 additions and 2 deletions
1
alloy
Submodule
1
alloy
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 2a3e6ca44c8b9589160d020a04cbc47dda567ebe
|
|
@ -46,7 +46,7 @@ $('al').onclick = function() {
|
||||||
if (url.startsWith('https://') || url.startsWith('http://')) url = url;
|
if (url.startsWith('https://') || url.startsWith('http://')) url = url;
|
||||||
else if (url.startsWith('//')) url = 'http:' + url;
|
else if (url.startsWith('//')) url = 'http:' + url;
|
||||||
else url = 'http://' + url;
|
else url = 'http://' + url;
|
||||||
frame.src = "https://" + domain + "/fetch/" + url;
|
frame.src = "https://" + domain + "/fetch/" + btoa(url);
|
||||||
frame.style['visibility'] = "visible";
|
frame.style['visibility'] = "visible";
|
||||||
frame.setAttribute('allow', 'fullscreen');
|
frame.setAttribute('allow', 'fullscreen');
|
||||||
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
frame.setAttribute('sandbox', 'allow-same-origin allow-scripts allow-popups allow-forms');
|
||||||
|
@ -61,7 +61,7 @@ $('albp').onclick = function() {
|
||||||
if (url.startsWith('https://') || url.startsWith('http://')) url = url;
|
if (url.startsWith('https://') || url.startsWith('http://')) url = url;
|
||||||
else if (url.startsWith('//')) url = 'http:' + url;
|
else if (url.startsWith('//')) url = 'http:' + url;
|
||||||
else url = 'http://' + url;
|
else url = 'http://' + url;
|
||||||
window.location.href = "https://" + domain + "/fetch/" + url;
|
window.location.href = "https://" + domain + "/fetch/" + btoa(url);
|
||||||
document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;';
|
document.cookie = 'oldsmobile=badcar; 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