As a beginner, my goal was to develop a Chrome Extension. However, I am facing a roadblock as I am unsure how to set up my extension to run in the background.
Despite conducting research to find a solution, I have been unable to find a suitable answer to my problem.
The core functionality of my extension is stored within AngularJS controller files, but I am uncertain about how to establish a connection with a background.js file or even if it is necessary.
I aim for the extension's logic to be active even when the popup window is not visible, similar to the modHeaders app.
Here is an excerpt from the manifest file:
"manifest_version": 2,
"name": "Chrono",
"version": "1.1",
"description": "Reminder",
"browser_action": {
"default_icon": "images/timerIcon.png",
"default_popup": "index.html",
"default_title": "ChronoBip"
},
"background": {
"scripts": ["background.js"],
"persistent": false
},
"permissions": [
"background",
"tabs" ]
}
If additional information is required, please let me know.