This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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

How to allow tracking from specified website with Firefox ESR?

  • 1 (رد واحد)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه cor-el

more options

Hi, I didn't find how to add a custom URL in exception tracking website in privacy tab. I already use files Firefox.cfg and the JSON file to customize Firefox ESR, but i couldn't find that!

There is in : about:preferences#privacy and the title of the window is "exceptions for enhanced protection against tracking"

Thank's

Hi, I didn't find how to add a custom URL in exception tracking website in privacy tab. I already use files Firefox.cfg and the JSON file to customize Firefox ESR, but i couldn't find that! There is in : about:preferences#privacy and the title of the window is "exceptions for enhanced protection against tracking" Thank's

الحل المُختار

Try code like this. In non ESR Firefox release versions you need to disable the sandbox.

Components.utils.import("resource://gre/modules/Services.jsm");
var URI = Services.io.newURI("https://example.com", null, null);
var PERMISSION = "trackingprotection";
var ACTION = "Services.perms.ALLOW_ACTION";
Services.perms.add(URI, PERMISSION, ACTION);

See also:

Read this answer in context 👍 0

All Replies (1)

more options

الحل المُختار

Try code like this. In non ESR Firefox release versions you need to disable the sandbox.

Components.utils.import("resource://gre/modules/Services.jsm");
var URI = Services.io.newURI("https://example.com", null, null);
var PERMISSION = "trackingprotection";
var ACTION = "Services.perms.ALLOW_ACTION";
Services.perms.add(URI, PERMISSION, ACTION);

See also: