This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 2 iimpendulo
  • 1 inayo le ngxaki
  • 1 view
  • Impendulo yokugqibela ngu cor-el

more options

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.

All Replies (2)

more options

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

more options

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