Can Zen Mods utilize asset folders for custom resources? #8854
-
looking at the theme-store, I have not seen a single mod that uses an Is there support for including and referencing local asset folders within Zen Mods? If not, are there any recommended best practices for handling custom resources efficiently? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Zen Mods do not currently support including or referencing local asset folders for custom resources. The mod system is designed to handle only specific files—such as chrome.css, preferences.json, and readme.md—within each mod's directory. There is no infrastructure in place for referencing or loading arbitrary asset folders (like an assets directory for icons or images) as part of a mod, nor is there a manifest or schema for such resources. This appears to be an intentional design choice, limiting mods to a well-defined set of files and not supporting custom resource folders at this time reference. There are also known issues with importing local themes: the system is hardcoded to fetch theme data from the online store, even when a local file is provided, which further complicates using local resources reference. No official best practices for handling custom resources in Zen Mods are documented. As a result, most mods that need to use custom resources rely on external URLs, even though this is less than ideal. If you need to include custom resources, you will likely need to host them externally and reference them by URL, as there is no built-in support for bundling or referencing local assets within a mod. To reply, just mention my name @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
There are no explicit guidelines or restrictions in the Zen Browser codebase or documentation regarding the inclusion of asset folders (such as assets/, icons/, or images/) when submitting Zen Mods to the store. The mod system officially recognizes files like chrome.css, readme.md, and optionally preferences.json, but does not mention or enforce rules about additional asset directories.
Your approach—referencing local assets within your mod's folder—works for local installations. However, the store and mod installation process are hardcoded to fetch only specific files from the online store, and there is no documented support for bundling or serving arbitrary asset folders as part of a m…