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!

Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

How to avoid content blocking while developing addons

more options

I have developed some addons for Firefox, but I met some problems that the function in addons would be stopped by the content blocking, This issue has some impact to our company's product cause customer could only turn off it to enjoy the normal function in our product. Every time our customer use our product, they cannot find the shield quickly shown in the picture, so some information could not be shown, which leads to some issues on our product. Could you please help me avoid the content blocking in my development or give me some method? Thank you.

I have developed some addons for Firefox, but I met some problems that the function in addons would be stopped by the content blocking, This issue has some impact to our company's product cause customer could only turn off it to enjoy the normal function in our product. Every time our customer use our product, they cannot find the shield quickly shown in the picture, so some information could not be shown, which leads to some issues on our product. Could you please help me avoid the content blocking in my development or give me some method? Thank you.
Capturas de tela anexadas

Solução escolhida

Hi samgsc, you might be able to find some explanation for the appearance of the shield on the drop-down and also in the Web Console.

If your add-on needs to inject scripts into pages that are from sites on the basic Tracking Protection list, you should consider using a different approach. It is not appropriate to ask users to disable Tracking Protection completely on one or more websites just to accommodate your scripts.

Ler esta resposta 👍 1

Todas as respostas (3)

more options

You need to remove whatever is being blocked to make your add-ons work.

Content Blocking is a User Preference. I will not Turn Off or reduce Content Blocking for any add-ons.

more options

Hello samgsc,

You might be better off posting here :

https://discourse.mozilla.org/c/add-ons

more options

Solução escolhida

Hi samgsc, you might be able to find some explanation for the appearance of the shield on the drop-down and also in the Web Console.

If your add-on needs to inject scripts into pages that are from sites on the basic Tracking Protection list, you should consider using a different approach. It is not appropriate to ask users to disable Tracking Protection completely on one or more websites just to accommodate your scripts.