This directory contains all the core code for the extension. This is the only code packaged with the extension. It also has some CSS for styling and the Handlebars library. See ../templates for more info on Handlebars.
../manifest.json has references to the items in this folder based on their functionality type.
It essentially serves as the entry point for all the code in this directory.
For more info on manifest.json
, see the Chrome Developer Docs.
Note: The Handlebars templates get directly compiled into this folder, creating a templates.js
file.
background.js serves as the extension's Background Page.
Please read the documentation and comments inside that script for more info.
popup.html represents the content that is loaded when the extension's icon is clicked. As defined in ../manifest.json, this popup is the default popup for the Page Action.
Note that popup.html serves as the entry point to other scripts and stylesheets.
Please read the documentation and comments inside those files for more info.