mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:49:59 +02:00
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:
parent
5d5a706087
commit
bbc9e79c2a
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue