mirror of
https://github.com/zen-browser/components.git
synced 2025-07-07 21:59:59 +02:00
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.
This commit is contained in:
parent
5cb3a8da2c
commit
9a0959c50e
1 changed files with 6 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue