Sort:  

Most Chrome browser extensions have a background script that runs all the time. Chrome manages them though so they should be woken up when needed only. And for Keychain, there was already an existing background script, I just added an extra logic that the browser will trigger when a URL is loaded or has changed, in other cases it won’t do anything.

Posted using Partiko iOS

If you are curious about this, you can open a new Chrome browser tab to this address chrome://extensions/
It will list all extension you have downloaded into your browser. Then from the top right corner of the screen you should see a toggle button saying "Developer mode", toggle it on, from then, all extensions should show their ID and the ones that has a background script will have a link that says "Inspect views background page"