I’m trying to port Chrome Extension to Firefox.
When this file is to be loaded I’m instead returning “redirectUrl: moz-extension://1bfb861f-d973-4e7c-ab11-dc98b45810e0/resource/visa/js/jquery.js
” in the chrome.webRequest.onBeforeSendHeaders.addListener
The actual code is:
return {redirectUrl: chrome.extension.getURL(irctc_urls_redirect[url])};
But it seems this jquery file is not getting loaded and the html page isn’t working properly. What is wrong with this?
If I comment this line then the web page works properly. I’ve already given permission of “webRequest”, “webRequestBlocking”