Firefox toolbar button to (de)activate Flash with one click.
Clone or download
Latest commit c2c52e4 Mar 6, 2017

README.md

FlashDisable

With this addon you can deactivate and re-activate Flash with one click.

It inserts a button in the navigation toolbar that you can use to (de)activate Flash at any time. Additional features can be enabled in the addon settings:

  • Reload current tab after activating Flash
  • Disable Flash on Firefox startup
  • Support for 'Ask to Activate' (Click to Play)

Build

First, download the necessary dependencies using npm:

npm install

After that, the add-on can be built using jpm:

jpm xpi

This creates an unsigned add-on. To build a signed version, you have to change the add-on id and submit the add-on to Mozilla Add-ons for signing.

Develop

You can run the add-on directly in Firefox with a fresh profile and get log messages on your terminal:

jpm -b firefox-dev run

Currently firefox-dev has to be an aurora (dev) or nightly build of Firefox, because of a bug in jpm.

Licence

This addon by Klemens Schölhorn is licenced under GPLv3.
The included menuitem module by Erik Vold is licenced under MPL 2.0.