The bare-bones Chrome Extension set-up. A solid, simple foundation to build and learn from.
- Popup action from the app tray, with a button for passing a message to a background service worker.
- Background service worker for transmitting popup's message to a content script on the currently active tab.
- Content script for receiving popup's message via the background service worker and changing the page background to yellow.
- Manifest that supports the above features.
If you're interested in seeing how this extension was built, you can follow my tutorial on medium.