Closed EdwardDK closed 1 month ago
Are you sure you are on the latest version?? We had this issue a few weeks ago and it was fixed then, it should not still be happening.
I'm sorry I don't know because I'm using the koyeb link to deploy off of. What should i do?
Can it maybe be because I host it in an about:blank? I tried running it again fresh and same issue.
I think its because of the popout notification. I don't recieve it on my end because of it already running in about:blank
Can you tell what script has the popup function? I can fork remove and test it. Thanks
I fixed it by going into home.js and removing
`if ( !inFrame && !navigator.userAgent.includes("Firefox") && localStorage.getItem("ab") === "true" ) { const popup = open("about:blank", "_blank"); if (!popup || popup.closed) { alert( "Please allow popups for this site. Doing so will allow us to open the site in a about:blank tab and preventing this site from showing up in your history. You can turn this off in the site settings.\n\nBy using Interstellar services, you confirm you have read and agreed to the terms listed in our Terms of Service and Privacy Policy, which can be found on the bottom of the settings page.", ); } else { const doc = popup.document; const iframe = doc.createElement("iframe"); const style = iframe.style; const link = doc.createElement("link");
const name = localStorage.getItem("name") || "My Drive - Google Drive";
const icon =
localStorage.getItem("icon") ||
"https://ssl.gstatic.com/docs/doclist/images/drive_2022q3_32dp.png";
doc.title = name;
link.rel = "icon";
link.href = icon;
iframe.src = location.href;
style.position = "fixed";
style.top = style.bottom = style.left = style.right = 0;
style.border = style.outline = "none";
style.width = style.height = "100%";
doc.head.appendChild(link);
doc.body.appendChild(iframe);
const pLink = localStorage.getItem(encodeURI("pLink")) || getRandomUrl();
location.replace(pLink);
const script = doc.createElement("script");
script.textContent = `
window.onbeforeunload = function (event) {
const confirmationMessage = 'Leave Site?';
(event || window.event).returnValue = confirmationMessage;
return confirmationMessage;
};
doc.head.appendChild(script);
} }`
this happens because the popup interfers with my about:blank.
Describe the bug I used the Koyeb deploy link in the readme.file I made a website which incorporate Interstellar in an about:blank. I ran Interstellar into koyeb and make an about blank through the proccess of making an iframe and setting it full screen. When I run it through the koyeb link it works: blushing-chrystal-eddytech-80cafe39.koyeb.app/ but whenever I try to run it through my own custom it looks like this ^ and I can't search anything and no buttons.
Expected behavior I expected it to work like the normal version, but somehow the about:blank doesn't let it work I suspect.
Screenshots
Device Information (please complete the following information):
Additional context I used to run the other older version which worked fine, I updated it to this one and now its broken. The issue is not in my Koyeb because it works fine, I also have no way to change the about:blank data so it must be a Interstellar problem.
Thankyou for the help :)