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.
This commit is contained in:
Mauro Balades 2024-08-23 16:36:12 +02:00
parent 5d5a706087
commit bbc9e79c2a

View file

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