Chrome Extension examples from Squiz Front-end Meetup (SFM) presentation on 10-08-2017
- Clone the repo locally
- Goto Chrome extensions manager (or type chrome://extensions/ in the address bar)
- Tick Developer mode
- Click on Load unpacked extension... and select the location of the extension folder from the repo.
- You are done.
Bare minimum setup demonstrating a Chrome Extention in action
Using scripts in popup.js and badge text using chrome.browserAction API.
Using chrome.tabs API to executeScript on host page
Using content scripts to inject JS and CSS files into host page
Using background page to persist data and calling its functions from popup.js
Using chrome.tabs and chrome.runtime API to exchange messages between popup.js and contentscript.js.
Using chrome.storage.sync API to save data across logged in Chrome browsers and notification API.