Original code (manifest v2) by https://anobjectisa.com/?author=1
Make sure you have node.js and npm installed, then run:
npm install
to build the extension to load unpacked into chrome:
npm run build:prod
to run the dev workflow (with hot code reloading)
npm run build
then visit each route on your browser:
localhost:8080/foreground.html
localhost:8080/options.html
localhost:8080/popup.html