Hacking an auto-unsubscribe into gmail. Also exploring the limitations of safely running third party code somewhere as sensitive as your primary inbox. Read more: https://smcllns.com/memo/unsubmarine
- Install the Chrome Extension
- Visit gmail (which is the only URL this extension works on: mail.google.com)
- Click the extension button to launch Unsubmarine
The only runtime dependency is babel for es6. There is a small amount of home-rolled browser automation specific to gmail's web app. Any Unsubmarine UI rendered inside gmail is implemented with svelte.
- Install dependencies:
npm i - Compile svelte app and watch for changes:
npm run dev - Load unpacked extension into Chrome: https://developer.chrome.com/extensions/getstarted#manifest
- Install dependencies:
npm i - Build files for extension:
npm run build - After building, distribute/install the
/extensiondirectory
- Split/side view mode is not yet supported (extension works when reading pane is disabled)