1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00

Add functionality to navigate back in history.

This commit is contained in:
Jimmy Vo
2025-03-20 11:57:06 -04:00
parent 4ef294917b
commit 14d19903df

View File

@@ -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