We are using CrossRider to develop an extension for Internet Explorer. I tested our extension in staging mode, and there is an alert in the background and in extension.js in the function appAPI.ready
:
extension.js:
appAPI.ready(function($) {
alert("appAPI.platform = " + appAPI.platform);
});
background.js:
appAPI.ready(function($) {
alert("appAPI.platform = " + appAPI.platform);
});
The alert in extension.js happens immediately after I install the extension, but the alert in background.js happens only after 26 seconds. Why does it take so much time? Our Extension ID is 43889. I also tried with a simple extension that doesn't do almost anything (Extension ID is 67708), and there both the alerts happen immediately. Is there a way to make the background in our extension load faster?
I'm using Internet Explorer 11 but this extension should work on all versions of Internet Explorer.