X
Tap here to go to the mobile version of the site.

Support Forum

Getting security error while loading local file from background script , web extension?

Posted

I am trying to get the blob of the last downloaded file using the background script of my Firefox Extension but I am getting the same error again and again i.e. Security Error: Content at moz-extension://03a985fd-d9c4-7e46-8ad1-0272b6c103af/_generated_background_page.html (url of my extension) may not load or link to file:///Users/amandeep/Downloads/demoform1(16).pdf (path of the last downloaded file). I have read many articles but none of them gives me any idea to do it. Please reply soon if anyone has a solution for it.

I am trying to get the blob of the last downloaded file using the background script of my Firefox Extension but I am getting the same error again and again i.e. Security Error: Content at moz-extension://03a985fd-d9c4-7e46-8ad1-0272b6c103af/_generated_background_page.html (url of my extension) may not load or link to file:///Users/amandeep/Downloads/demoform1(16).pdf (path of the last downloaded file). I have read many articles but none of them gives me any idea to do it. Please reply soon if anyone has a solution for it.

Additional System Details

Application

  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

More Information

WestEnd
  • Top 25 Contributor
60 solutions 5379 answers

Did you contact the extension maker about it? Extension issues aren't a FF end user help from problem.

Did you contact the extension maker about it? Extension issues aren't a FF end user help from problem.
cor-el
  • Top 10 Contributor
  • Moderator
17468 solutions 157865 answers

Try to ask advice at the Addons forum if this is your own extension.

Try to ask advice at the Addons forum if this is your own extension. *https://discourse.mozilla-community.org/c/add-ons