feat: update preferences and UI components for new features and improvements

This commit is contained in:
mr. M
2025-03-26 21:31:12 +01:00
parent 02c9ec67c0
commit daf6d6aea8
29 changed files with 357 additions and 511 deletions

View File

@@ -0,0 +1,24 @@
diff --git a/browser/modules/BrowserDOMWindow.sys.mjs b/browser/modules/BrowserDOMWindow.sys.mjs
index 2bc4918c15b5ea80e486db66d20bb9668b9e29c0..3800a3807f11c5f65ce0d602a775f95037f5dcf8 100644
--- a/browser/modules/BrowserDOMWindow.sys.mjs
+++ b/browser/modules/BrowserDOMWindow.sys.mjs
@@ -362,7 +362,7 @@ export class BrowserDOMWindow {
// Passing a null-URI to only create the content window,
// and pass true for aSkipLoad to prevent loading of
// about:blank
- return this.getContentWindowOrOpenURIInFrame(
+ let res = this.getContentWindowOrOpenURIInFrame(
null,
aParams,
aWhere,
@@ -370,6 +370,10 @@ export class BrowserDOMWindow {
aName,
true
);
+ if (typeof this.win?.gZenGlanceManager !== "undefined" && this.win.toolbar.visible) {
+ this.win.gZenGlanceManager.onTabOpen(res, aURI);
+ }
+ return res;
}
openURIInFrame(aURI, aParams, aWhere, aFlags, aName) {