Add preference for using Google favicons and refactor related logic

This commit is contained in:
mr. M
2025-03-13 13:15:28 +01:00
parent 8ee527a3d0
commit 0dc05978ce
10 changed files with 40 additions and 22 deletions

View File

@@ -48,6 +48,7 @@
openWatermark() {
if (!Services.prefs.getBoolPref('zen.watermark.enabled', false)) {
document.documentElement.removeAttribute('zen-before-loaded');
return;
}
for (let elem of document.querySelectorAll('#browser > *, #urlbar')) {