CTF (Capture the Flag or Chrome to Firefox) is a developer tool to quickly port Chrome extensions to Firefox. This script is designed to be run on a Windows machine, other OS support may be added in the future depending on user request. Extensions with additional security, such as official Adobe or Google extensions, can not be converted. If you find an extension that can not be converted, please open a new Issue with the extension ID number so I can keep a log.
- Quickly attempts to convert Chrome extensions to Firefox extensions
- Proposes potential Firefox alternatives to extensions
- Terminal output saved to rotating log file
- Terminal output color coded for quick error logging
- Clone repo or download main.py script
- Open a terminal window and type 'python main.py' and follow on-screen instructions
Due to Firefox's signing requirements, there are several ways to use these extensions:
- Open Firefox and go to about:debugging
- Click 'This Firefox'
- Click 'Load Temporary Add-on...'
- Browse to the folder for each extension and select the manifest.json file
- Download and install Firefox Developer Edition or Firefox Nightly
- Go to about:config and set xpinstall.signatures.required to false
- Then you can install the .xpi files directly
- Download and install Firefox ESR
- Go to about:config and set xpinstall.signatures.required to false
- Then you can install the .xpi files directly
For permanent installation in regular Firefox:
- Create a developer account at https://addons.mozilla.org
- Use web-ext tool to package and submit your extension: npm install -g web-ext cd [extension_folder] web-ext lint web-ext build
- Upload the generated .zip file to https://addons.mozilla.org/developers/
- Wait for Mozilla review and approval