From 339c4532bea24a3c249bb9c9db4f7ea609d68d07 Mon Sep 17 00:00:00 2001 From: TheEmeraldStarr <46467239+QuiteAFancyEmerald@users.noreply.github.com> Date: Thu, 3 Dec 2020 17:27:57 -0800 Subject: [PATCH] Added Examples --- views/expr/surf.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/expr/surf.js b/views/expr/surf.js index 9ae0cccc..2a562147 100644 --- a/views/expr/surf.js +++ b/views/expr/surf.js @@ -16,7 +16,7 @@ $('buttonstealth').onclick = function() { url = btoa('http://' + url[0] + '/' + url.slice(1).join('/')); console.log(url); } else url = btoa(url) - frame.src = "https://" + domain + "/fetch/" + url; + frame.src = "https://subdomain." + domain + "/path/" + url; frame.style['visibility'] = "visible"; document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;'; document.getElementById('frame').contentWindow.focus(); @@ -31,7 +31,7 @@ $('buttonclassic').onclick = function() { url = btoa('http://' + url[0] + '/' + url.slice(1).join('/')); console.log(url); } else url = btoa(url) - window.location.href = "https://" + domain + "/fetch/" + url; + window.location.href = "https://subdomain." + domain + "/path/" + url; document.cookie = 'oldsmobile=badcar; expires=' + (Date.now() + 259200) + '; SameSite=Lax; domain=.' + auth + '; path=/; Secure;'; return false; };