This extension displays chrome notifications whenever the api is called in sample_api/index.html.
This extension demonstrates how to inject content scripts into web page, get the api response and send it to chrome plugin.
serve
module installed globally
npm install -g serve
- Enable developer mode in chrome extensions page.
- Load the sample_ext by clicking 'Load Upacked Plugin' button.
- Run static server
$ cd sample_api
$ serve .
- Go to
http://localhost:5000
in Google Chrome.