We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 2 ответа
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от 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.

Все ответы (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.