Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.75 KB

README.md

File metadata and controls

69 lines (47 loc) · 1.75 KB

chrome-extension-safemail

Disable links from untrusted domains.
Supported clients: Gmail
Supported browsers: Google Chrome, Firefox

Example

Example email from Untappd

Example


How to:

Google Chrome
  1. Clone repo
  2. Paste this in the search bar of Chrome: chrome://extensions
  3. Toggle Developer mode
  4. Load unpacked -> select this folder
  5. Update TRUSTED_DOMAINS in utils/constants.js
Firefox
  1. Clone repo
  2. Paste this in the search bar of Firefox: about:debugging#/runtime/this-firefox
  3. Load Temporary Add-On... -> select manifest.json in this folder
  4. Update TRUSTED_DOMAINS in utils/constants.js

Why use this extension?

Ever taken a peek at the spam or trash folder, browsing potential emails trapped by an inconcise filter? Do you fear accidentally clicking a suspicious or malicious link?

Using this extension, you can feel safer when reading mails. It will reduce the chances of clicking links from spoofed emails. Any link within an email redirecting to a domain not specified in TRUSTED_DOMAINS will be disabled. The untrusted domain will also be highlighted.

The source code is open and only hosted from your local machine. Any updates is in your full control, no need to worry about 3rd party extensions and dependency injection (afaik).


Customize

You can modify the code as desired. Add new files in scripts/* to implement support for other mail clients. The filename must match the domain exactly (including subdomains).

Changing any of these files requires a reload of the extension:

  • content.js
  • manifest.json
  • background.json