Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 1 har detta problem
  • 1 visning
  • Senaste svar av 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.

Alla svar (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.