Mods will now not be loaded in safe mode

This commit is contained in:
mr. M
2024-12-21 00:48:46 +01:00
parent e18e0dccc6
commit a0c017a4dc
2 changed files with 5 additions and 1 deletions

View File

@@ -124,6 +124,10 @@
transition: all 0.2s; transition: all 0.2s;
} }
#blocked-permissions-container {
visibility: collapse;
}
#urlbar[open] :is(#tracking-protection-icon-container, .urlbar-page-action), #urlbar[open] :is(#tracking-protection-icon-container, .urlbar-page-action),
#urlbar:hover :is(#tracking-protection-icon-container, .urlbar-page-action), #urlbar:hover :is(#tracking-protection-icon-container, .urlbar-page-action),
.urlbar-page-action[open], .urlbar-page-action[open],

View File

@@ -57,7 +57,7 @@ var gZenThemesImporter = new (class {
try { try {
window.SessionStore.promiseInitialized.then(async () => { 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.'); console.log('[ZenThemesImporter]: Disabling all themes.');
return; return;
} }