Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla サポートの検索

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

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Add-ons do not work on this site

  • 6 件の返信
  • 2 人がこの問題に困っています
  • 28 回表示
  • 最後の返信者: jk192564

more options

I'm referring to this site support.mozilla.org. It looks like add-ons are disabled, add-ons like uBlock origin and Stylus have no effect on the page. How do I use these add-ons on support.mozilla.org?

I'm referring to this site support.mozilla.org. It looks like add-ons are disabled, add-ons like uBlock origin and Stylus have no effect on the page. How do I use these add-ons on support.mozilla.org?

選ばれた解決策

I have found a solution. Sites listed in extensions.webextensions.restrictedDomains at about:config restrict WebExtensions. To solve this, remove the site in question from extensions.webextensions.restrictedDomains .

この回答をすべて読む 👍 0

すべての返信 (6)

more options

It might be there is nothing to block. What is Stylus suppose to do to the page?

more options

I don't think that's the case, the add-ons literally don't work. Activating the element picker in uBlock does not display anything, adding custom CSS styles on stylus doesn't affect the page either.

more options

Most (all) Mozilla websites prohibit to inject JavaScript on their web pages via CSP policies (only the website is allowed to inject JavaScript). This makes extensions that use this to stop working. Most extensions that are affected have a remark on their Addons page to notify you. This affect JavaScript bookmarklets as well.

more options

Does that mean it is impossible to use uBlock and the like on pages with those CSP policies? I wanted to change some elements of the site

more options

If you can't do this with an extension because of CSP then you can use userContent.css with a @-moz-document domain(){} block to restrict the code to a specific domain.

more options

選ばれた解決策

I have found a solution. Sites listed in extensions.webextensions.restrictedDomains at about:config restrict WebExtensions. To solve this, remove the site in question from extensions.webextensions.restrictedDomains .