Minor Edit (again)

This commit is contained in:
TheEmeraldStarr 2021-02-28 12:08:53 -08:00
parent 208a3169b7
commit 268d749b0c
2 changed files with 3 additions and 2 deletions

1
alloy Submodule

@ -0,0 +1 @@
Subproject commit 2a3e6ca44c8b9589160d020a04cbc47dda567ebe

View file

@ -46,7 +46,7 @@ $('al').onclick = function() {
if (url.startsWith('https://') || url.startsWith('http://')) url = url;
else if (url.startsWith('//')) 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.setAttribute('allow', 'fullscreen');
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;
else if (url.startsWith('//')) 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;';
return false;
};