From bbc9e79c2afa97f833762b1eb8ba61ca1fa19aac Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Fri, 23 Aug 2024 16:36:12 +0200 Subject: [PATCH] refactor: Remove unused attributes from ZenSidebarManager Remove the "disableglobalhistory" and "disablesecurity" attributes from the ZenSidebarManager module. These attributes are no longer needed and can be safely removed. This cleanup improves the code readability and reduces unnecessary clutter. --- src/ZenSidebarManager.mjs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/ZenSidebarManager.mjs b/src/ZenSidebarManager.mjs index 50a9dd2..28d0e3f 100644 --- a/src/ZenSidebarManager.mjs +++ b/src/ZenSidebarManager.mjs @@ -343,11 +343,9 @@ var gZenBrowserManagerSidebar = { browser.setAttribute("disablefullscreen", "true"); browser.setAttribute("src", data.url); browser.setAttribute("zen-sidebar-id", data.id); - browser.setAttribute("disableglobalhistory", "true"); browser.setAttribute("autoscroll", "false"); browser.setAttribute("autocompletepopup", "PopupAutoComplete"); browser.setAttribute("contextmenu", "contentAreaContextMenu"); - browser.setAttribute("disablesecurity", "true"); browser.addEventListener("pagetitlechanged", (function(event) { let browser = event.target; let title = browser.contentTitle;