diff --git a/apps/browser/src/phishing-detection/content/phishing-detection-browser.service.ts b/apps/browser/src/phishing-detection/content/phishing-detection-browser.service.ts index e1436cc6136..6aba81d2172 100644 --- a/apps/browser/src/phishing-detection/content/phishing-detection-browser.service.ts +++ b/apps/browser/src/phishing-detection/content/phishing-detection-browser.service.ts @@ -65,8 +65,7 @@ export class PhishingDetectionBrowserService { exitButton.style.marginTop = "10px"; exitButton.textContent = "Exit Page"; exitButton.addEventListener("click", () => { - window.open("about:blank", "_self"); // Open a blank page in the same tab - window.close(); // Try to close it + window.history.back(); }); // Append elements