Avatar for Username

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

How to allow tracking from specified website with Firefox ESR?

  • 1 ответ
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от 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:

Прочитайте этот ответ в контексте 👍 0

Все ответы (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: