Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

How to allow tracking from specified website with Firefox ESR?

  • 1 trả lời
  • 1 gặp vấn đề này
  • 18 lượt xem
  • Trả lời mới nhất được viết bởi 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

Giải pháp được chọn

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:

Đọc câu trả lời này trong ngữ cảnh 👍 0

Tất cả các câu trả lời (1)

more options

Giải pháp được chọn

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: