Developer ports Chrome extension to Firefox with just four manifest.json changes
A developer published KH4 Companion, a Kingdom Hearts IV countdown extension, on the Chrome Web Store in August before porting it to Mozilla's addons.mozilla.org this week. The port required only four changes to the manifest.json file, making the process far simpler than anticipated. Key differences included declaring a permanent Firefox extension ID, using a dual background-script key to support both browsers, and replacing importScripts calls with a guarded fallback for Firefox's event-page model. Since November 2025, AMO also requires extensions to declare data collection practices directly in the manifest, which the developer fulfilled with a 'none' declaration. The developer recommends running the addons-linter tool first before preparing any store assets, as AMO rejects non-compliant packages before a listing form is even shown.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in