1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-28 19:02:42 +01:00
bitwarden-estensione-browser/apps/browser
github-actions[bot] dac02ed11d
Bumped browser version to 2022.05.0 (#2768)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-06-01 15:23:28 -04:00
..
jslib@1ea2824c24 sync jslib master with client (#2753) 2022-05-27 19:09:01 +01:00
src Bumped browser version to 2022.05.0 (#2768) 2022-06-01 15:23:28 -04:00
store [EC-183] Mono Repository - Browser (#2531) 2022-05-03 19:38:55 +02:00
.gitignore Migrate cli to jest (#2759) 2022-05-31 16:29:10 +02:00
crowdin.yml Fix Crowdin Pull workflow (#2667) 2022-05-10 10:20:32 -04:00
gulpfile.js [EC-183] Mono Repository - Browser (#2531) 2022-05-03 19:38:55 +02:00
jest.config.js [EC-194] Migrate browser to jest (#2646) 2022-05-10 10:25:35 +02:00
package-lock.json Migrate cli to jest (#2759) 2022-05-31 16:29:10 +02:00
package.json Migrate cli to jest (#2759) 2022-05-31 16:29:10 +02:00
README.md Rename repo to clients (#2548) 2022-05-05 16:54:48 +02:00
tsconfig.json [EC-183] Mono Repository - Browser (#2531) 2022-05-03 19:38:55 +02:00
tsconfig.spec.json [EC-194] Migrate browser to jest (#2646) 2022-05-10 10:25:35 +02:00
webpack.config.js [EC-183] Mono Repository - Browser (#2531) 2022-05-03 19:38:55 +02:00

Github Workflow build browser on master Crowdin Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Browser Extension

The Bitwarden browser extension is written using the Web Extension API and Angular.

My Vault

Build/Run

Requirements

  • Node.js v16.13.1 or greater
  • NPM v8
  • Gulp (npm install --global gulp-cli)
  • Chrome (preferred), Opera, or Firefox browser

Run the app

npm install
npm run build:watch

You can now load the extension into your browser through the browser's extension tools page:

  • Chrome/Opera:
    1. Type chrome://extensions in your address bar to bring up the extensions page.
    2. Enable developer mode (toggle switch)
    3. Click the "Load unpacked extension" button, navigate to the build folder of your local extension instance, and click "Ok".
  • Firefox
    1. Type about:debugging in your address bar to bring up the add-ons page.
    2. Click the Load Temporary Add-on button, navigate to the build/manifest.json file, and "Open".

Desktop communication

Native Messaging (communication between the desktop application and browser extension) works by having the browser start a lightweight proxy baked into our desktop application.

Out of the box, the desktop application can only communicate with the production browser extension. When you enable browser integration in the desktop application, the application generates manifests which contain the production IDs of the browser extensions. To enable communication between the desktop application and development versions of browser extensions, add the development IDs to the allowed_extensions section of the corresponding manifests.

Manifests are located in the browser subdirectory of the Bitwarden configuration directory. For instance, on Windows the manifests are located at C:\Users\<user>\AppData\Roaming\Bitwarden\browsers and on macOS these are in Application Support for various browsers (for example). Note that disabling the desktop integration will delete the manifests, and the files will need to be updated again.