👋 Try our extension |
---|
⬇ Download the FlowCrypt Browser Extension on your device from the FlowCrypt Downloads page. |
We develop the project in TypeScript. However, since browsers only understand JavaScript, the project needs to be transpiled to it. You need to build the project the first time you download/clone it, and then build it again after each change you make to see the result in the browser. To get started, please follow the instructions below:
# 1. Navigate to the appropriate folder
$ cd some/folder/flowcrypt-browser
# 2. Install the tooling
$ npm install
$ npm run build
After executing the build command, you can find your built project in the build/chrome-consumer
and build/firefox-consumer
folders.
ℹ️ Note: The
build
folder also contains other versions of the browser extension.
✔️ To load the extension in Google Chrome, please follow these steps:
chrome://extensions/
.flowcrypt-browser/build
folder and select the appropriate project version, either chrome-consumer
or chrome-enterprise
.✔️ To load the extension in Firefox, please follow these steps:
about:debugging
.flowcrypt-browser/build
folder, open the firefox-consumer
project version folder, and select the manifest.json
file.If you wish, you can also use the run_firefox
script (npm run run_firefox
) included in the package.json
file to run the Firefox extension in a separate instance without interfering with the production extension installed in your browser.
Printing debug data to test logs can be accomplished using a special Debug class.