A Firefox extension that adds a context menu item to open images in a new tab.
- Hold down shift when selecting "Open image in new tab" from the context menu to invert the default tab active behaviour.
i.e. if "Switch to image tab immediately" is set to "Yes" then holding shift will load the image tab in the background rather than the foreground.
- Only works with
http://,https://&data:URLs (notfile://,ftp://, etc.)
Testing unsigned extensions only works with non-release builds of Firefox, to develop the extension:
- Install a non-release build (e.g. Firefox Developer Edition)
npm installnpm run startto load Firefox Developer Edition with the extension installed. Making changes to the code will automatically reload the extension.
To publish a new version:
npm run validate- Bump the
versioninsrc/manifest.json - Commit with the version number as the commit message (e.g.
:bookmark: 1.0.0) and tag the commit with the version number (e.g.v1.0.0) npm run packageto bundle the extension as azipfile- Upload the generated
zipto https://addons.mozilla.org/en-US/developers/addons
- Icon by Font Awesome (Creative Commons Attribution 4.0 International license).