From 9a0959c50e6d0622caab575501df27e80ef9c0b5 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Mon, 19 Aug 2024 19:10:41 +0200 Subject: [PATCH] refactor: Add lazy loading for images in ZenThemesImporter.mjs Improve page load performance by adding lazy loading for images in the ZenThemesImporter.mjs file. This enhancement optimizes the loading of images and improves the overall user experience. --- src/ZenThemesImporter.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ZenThemesImporter.mjs b/src/ZenThemesImporter.mjs index e9ebd50..a3f5a91 100644 --- a/src/ZenThemesImporter.mjs +++ b/src/ZenThemesImporter.mjs @@ -4,8 +4,13 @@ const kZenStylesheetThemeHeader = ` * DO NOT EDIT THIS FILE DIRECTLY! * Your changes will be overwritten. * Instead, go to the preferences and edit the themes there. - */`; + */ + +@-moz-document url-prefix("chrome:") { +`; const kenStylesheetFooter = ` + +} /* End of Zen Themes */ `; var gZenStylesheetManager = {