The code below is the JavaScript file works with popup.html from a small project. I use it for chrome extension development learning. The first part of this code pie