This is a super simple chrome extension example. You have a popup with some style/JS and a background script that injects JS (a console log statement) on the page if the "on" switch is active in the popup.
Features:
- popup window when icon is clicked
- injecting JS on webpage
- on/off switch