X
點擊此處開啟此網站的行動版。

技術支援討論區

How to avoid content blocking while developing addons

已張貼

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.
附加的畫面擷圖

被選擇的解決方法

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.

從原來的回覆中察看解決方案 1
引用

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

更多資訊

My_Cheese_Is_Slippin'
  • Top 10 Contributor
66 個解決方法 765 個答案

有幫助的回覆

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.

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.
這篇文章有幫助嗎? 1
引用
McCoy
  • Top 10 Contributor
534 個解決方法 5035 個答案

有幫助的回覆

Hello samgsc,

You might be better off posting here :

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

Hello samgsc, You might be better off posting here : https://discourse.mozilla.org/c/add-ons
這篇文章有幫助嗎? 1
引用
jscher2000
  • Top 10 Contributor
8695 個解決方法 71066 個答案

選擇的解決方法

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.

Hi samgsc, you might be able to find some explanation for the appearance of the shield on the drop-down and also in the [https://developer.mozilla.org/docs/Tools/Web_Console 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.
這篇文章有幫助嗎? 1
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題