为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can't add exception for Enhanced Tracking Protection

  • 7 个回答
  • 2 人有此问题
  • 11 次查看
  • 最后回复者为 kfgoodnight

more options

I can't add a website to Enhanced Tracking Protection exceptions. I need to add a website to see if that fixing it not loading properly.

Adding exceptions for Cookies and Site Data is working well. So this is just an oversight. Can we please have this fixed in the version? Should be easy as pie.

Please note: I cannot visit that website to get to its "shield" icon. I *have* to add this website manually to the exceptions list. But this is also an issue of principle: if there's a list that can be removed from, it should also be possible to add to it, whatever list it may be.

I can't add a website to Enhanced Tracking Protection exceptions. I need to add a website to see if that fixing it not loading properly. Adding exceptions for Cookies and Site Data is working well. So this is just an oversight. Can we please have this fixed in the version? Should be easy as pie. Please note: I cannot visit that website to get to its "shield" icon. I *have* to add this website manually to the exceptions list. But this is also an issue of principle: if there's a list that can be removed from, it should also be possible to add to it, whatever list it may be.
已附加屏幕截图

所有回复 (7)

more options

WTH, why can't I edit my post?!

fixing -> fixes in the version -> in the next version

more options

Note that you can find "Edit this question" under the "Question Tools" menu in the sidebar. For a reply, Edit is in the three dot menu next to a reply.


You can't add an exception for Enhanced Tracking Protection manually, you can only do this by toggling the switch in the drop-down that opens if you click the shield. Such an exception is created for an origin (protocol and hostname).

Why do you need to enter this exception manually ?

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?


If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, DuckDuckGo PE, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

Firefox shows a purple shield instead of a gray shield at the left end of the location/address bar in case Enhanced Tracking Protection is blocking content. You can click shield icon for more detail and possibly disable the protection. You can check the Web Console for messages about blocked content.


You can try these steps in case of issues with webpages:

You can reload webpage(s) and bypass the cache to refresh possibly outdated or corrupted files.

  • hold down the Shift key and left-click the Reload button
  • press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
  • press "Command + Shift + R" (Mac)

Clear the Cache and remove the Cookies for websites that cause problems via the "3-bar" Firefox menu button (Options/Preferences).

"Remove the Cookies" for websites that cause problems:

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data: "Manage Data"

"Clear the Cache":

  • Options/Preferences -> Privacy & Security
    Cookies and Site Data -> Clear Data -> Cached Web Content: Clear

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or userChrome.css is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window
more options

> Why do you need to enter this exception manually ?

Because I need to diagnose a website, but I don't want to expose myself on others. Also, the "why" question is irrelevant anyway. There's a list of excluded sites, I want to add one. It's that simple really. It's my computer, I decide what happens on it.

Excluding a website for tracking protection must ALWAYS be a personal conviction & decision. The fact that one cannot be added manually, means it can only be done automatically, either by Mozilla or by a third party, which indicates a lack of trust in the user. If Mozilla doesn't trust the user in the capability to decide whch websites to exclude, how can the user possibly trust Mozilla to do it for them?

All the other information you gave, while appreciated, is irrelevant to the problem at hand.

more options

Enhanced Tracking Protection is enabled by default to prevent exposing you to other websites. You make an exception to allow content from websites blocked by ETP to be retrieved. This is all or nothing with ETP.

If you need finer control then look on the Add-ons website for a suitable extension.

more options

This problem is blocking my use of several important websites. One example is Vanguard (the financial services company). Their main page is investor.vanguard.com but for logging into an account their site embeds an element with URL personal.vanguard.com, and Firefox won't let it work. Taking Vanguard as an example:

ONLY investor.vanguard.com will appear in the address bar at top; I can turn off enhanced tracking for that but my login is still blocked. If I manually type personal.vanguard.com into the address bar, it instantly redirects to investor.vanguard.com, so I have no way to whitelist personal.vanguard.com using the button in the address bar. If I switch enhanced tracking to Custom settings and turn everything off that I can turn off, the site is still broken.

An "add" button to manually enter a URL in the enhanced tracking exceptions list would solve this issue instantly. It doesn't seem like it would be a difficult fix to implement; such a button is already found in other exceptions lists in the settings. I've searched the add-ons page but found nothing that looks like it would do that. Right now the only solution is to access these sites with a different browser.

more options

You can manually add this exception by running this code in the Browser Console.

URI="https://personal.vanguard.com";
PMP="trackingprotection";
Services.perms.addFromPrincipal(Services.scriptSecurityManager.createContentPrincipalFromOrigin(URI),PMP,1,0);

more options

Thanks. I normally try to avoid working "under the hood" like that, since I'm not an expert and could easily break something, but I mastered my nerves and tried this, and it looks like it worked.