0.6.0 • Published 4 months ago

convert-manifest-format v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

convert-manifest-format

Converts between Firefox and Chrome's flavor of WebExtensions Manifest v3.

The following changes may be made:

  1. Firefox currently still requires a background.scripts array, while Chrome requires a background.service_worker string.

Note that if you are moving from Firefox, you should import all of your scripts besides the main one so that there is only one script left in background.scripts.

See https://stackoverflow.com/a/75203925/271577 for more background.

  1. If the Firefox mode is chosen and incognito: "split" is found, options will be given to keep, remove, or change the value (since "split" is currently not supported).

  2. If the Firefox mode is chosen, any options_page value will be converted to "options_ui": {"page": "..."}.

Install

npm i -D convert-manifest-format

Usage

To convert to Chrome:

convert-manifest-format --chrome

To convert to Firefox:

convert-manifest-format --firefox
0.5.0

4 months ago

0.6.0

4 months ago

0.4.1

8 months ago

0.4.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago