- Blocks websites that you want to avoid
- Shows a motivational quote every time you open a new tab
- Download this code in a folder
- Open Chrome and go to
chrome://extensions/
- Enable
Developer mode
- Click on
Load unpacked
- Select the folder where you downloaded the code
- Open
background.js
file - Add or remove the website from the
runExtension
method - go to
chrome://extensions/
and click onUpdate
button
- Able to use IndexDB to store the list of websites to block in extension popup however unable to access it in background.js