a99ce875ca
* Initial attempt at adding favicons. * Cache the favicons for 30 days. * Refactor faviconService, remove unused faviconDirective. * Change icon url to icons.bitwarden.com. Update style to support dynamic size of icon. * Use hostname instead of domain. * Fix getFavicon throwing an exception if the uri is not a valid url. * Add enabled property to faviconService to prevent slow calls to storage. Fixed chrome not displaying chrome://favicon properly. * Fix chrome disable favicon not working as expected. * Add default icon. * Fix jshint errors. * Cleanup of faviconService, removed caching related code. Add faviconComponent for handling favicons. * Remove faviconService, moved functionallity into faviconComponent. * Fix faviconComponent not updating when uri changes. * Rename favicon to icon. * Improve whitelist. |
||
---|---|---|
src | ||
store | ||
.gitignore | ||
bitwarden-browser.sln | ||
CONTRIBUTING.md | ||
crowdin.yml | ||
gulpfile.js | ||
LICENSE.txt | ||
package.json | ||
README.md | ||
SECURITY.md | ||
webfonts.list |
bitwarden Browser Extension
The bitwarden browser extension is written using the Chrome Web Extension API and AngularJS.
Build/Run
Requirements
By default the extension is targeting the production API. If you are running the Core API locally,
you'll need to switch the extension to target your local API. Open src/services/apiService.js
and set this.baseUrl
to your local
API instance (ex. http://localhost:4000
).
Then run the following commands:
npm install
gulp build
You can now load the extension into your browser through the browser's extension tools page:
- Chrome/Opera:
- Type
chrome://extensions
in your address bar to bring up the extensions page. - Enable developer mode (checkbox)
- Click the "Load unpacked extension" button, navigate to the
src
folder of your local extension instance, and click "Ok".
- Type
- Firefox
- Type
about:debugging
in your address bar to bring up the add-ons page. - Click the
Load Temporary Add-on
button, navigate to thesrc/manifest.json
file, and "Open".
- Type
Contribute
Code contributions are welcome! Please commit any pull requests against the master
branch. Learn more about how to contribute
by reading the CONTRIBUTING.md
file.
Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md
file.