/usr/share/webext/privacy-badger/js/constants.js is in webext-privacy-badger 2018.2.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | /*
* This file is part of Privacy Badger <https://www.eff.org/privacybadger>
* Copyright (C) 2014 Electronic Frontier Foundation
*
* Privacy Badger is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* Privacy Badger is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Privacy Badger. If not, see <http://www.gnu.org/licenses/>.
*/
require.scopes.constants = (function() {
var exports = {
// Tracking status constants
NO_TRACKING: "noaction",
ALLOW: "allow",
BLOCK: "block",
COOKIEBLOCK: "cookieblock",
DNT: "dnt",
USER_ALLOW: "user_allow",
USER_BLOCK: "user_block",
USER_COOKIE_BLOCK: "user_cookieblock",
// URLS
DNT_POLICIES_URL: "https://www.eff.org/files/dnt-policies.json",
DNT_POLICIES_LOCAL_URL: chrome.extension.getURL('data/dnt-policies.json'),
YELLOWLIST_URL: "https://www.eff.org/files/cookieblocklist_new.txt",
YELLOWLIST_LOCAL_URL: chrome.extension.getURL('data/yellowlist.txt'),
// The number of 1st parties a 3rd party can be seen on
TRACKING_THRESHOLD: 3,
MAX_COOKIE_ENTROPY: 12,
DNT_POLICY_CHECK_INTERVAL: 1000, // one second
};
exports.BLOCKED_ACTIONS = new Set([
exports.BLOCK,
exports.USER_BLOCK,
exports.COOKIEBLOCK,
exports.USER_COOKIE_BLOCK,
]);
return exports;
})();
|