mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-18 15:51:55 +00:00
Refactor ZenThemesImporter to streamline URL matching logic for improved readability
This commit is contained in:
@@ -313,8 +313,5 @@ gZenActorsManager.addJSWindowActor('ZenThemeMarketplace', {
|
|||||||
DOMContentLoaded: {},
|
DOMContentLoaded: {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
matches: [
|
matches: [...Services.prefs.getStringPref('zen.injections.match-urls').split(','), 'about:preferences'],
|
||||||
...Services.prefs.getStringPref('zen.injections.match-urls').split(','),
|
|
||||||
'about:preferences'
|
|
||||||
],
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user