Use both event_pages and background pages in a single chrome extension

178 views Asked by At

Changing background page to event_page makes the js script to be non-persistant. This can be done by following settings in manifest.json file:

"background": {
    "scripts": ["eventPage.js"],
    "persistent": false
  },

I wanted to know, is it possible to categorize certain js script files as event_page and few other js script files as background page in same chrome extension? If yes, how to do it?

0

There are 0 answers