Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Edge extension background scripts not working.

$
0
0

With the edge extension installed I expect the background script to work.

I've tried both of the two following options;

"background": {"page": "background.html","persistent": true
    },
"background": {"scripts": ["handlers.js"],"persistent": false
      },

The background page option just links to the html doc with this:

<html><script type="text/javascript" src="carmelhandlers.js"></script></html>

Why are none of these options working? The script doesn't run unless I link to it from the popup's html and activate the popup.

Please help,

Thanks in advance.


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>