mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-07 05:43:21 +00:00
Mods will now not be loaded in safe mode
This commit is contained in:
@@ -124,6 +124,10 @@
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
#blocked-permissions-container {
|
||||
visibility: collapse;
|
||||
}
|
||||
|
||||
#urlbar[open] :is(#tracking-protection-icon-container, .urlbar-page-action),
|
||||
#urlbar:hover :is(#tracking-protection-icon-container, .urlbar-page-action),
|
||||
.urlbar-page-action[open],
|
||||
|
||||
@@ -57,7 +57,7 @@ var gZenThemesImporter = new (class {
|
||||
|
||||
try {
|
||||
window.SessionStore.promiseInitialized.then(async () => {
|
||||
if (Services.prefs.getBoolPref('zen.themes.disable-all', false)) {
|
||||
if (Services.prefs.getBoolPref('zen.themes.disable-all', false) || Services.appinfo.inSafeMode) {
|
||||
console.log('[ZenThemesImporter]: Disabling all themes.');
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user