<commit_before>// options
const storageGet = () => new Promise((resolve) => chrome.storage.local.get(resolve));
let options = {
    'player': 'html5', // original swf iframe bilih5 html5 html5hd html5ld
    'rel_search': 'with', // off without with
    'trackingBlock': true,
    'scrollToPlayer': true,
    'api': 'offical',
    'opacity': 1,
    'prop': false,
    'scale': 1,
    'volume': 0.5,
    'replace': true,
};
const refreshOptions = () => storageGet().then((obj) => Object.assign(options, obj)).then(() => chrome.storage.local.set(options));
refreshOptions();

// static data
const trackingUrls = [
    '*://data.bilibilijj.com/free/*.txt*',
    '*://tajs.qq.com/stats*',
    '*://*.secureweb24.net/*',
    '*://*.cnzz.com/stat.php*',
    '*://*.hdslb.com/images/base/loading.gif',
    '*://*.hdslb.com/message/img/infocenterIcon-*.png',
    '*://*.hdslb.com/images/v3images/img_loading.png',
    '*://*.hdslb.com/images/v2images/topicons.png',
    '*://api.bilibili.com/crossdomain.xml*',
    '*://*.hdslb.com/crossdomain.xml*',
    '*://interface.bilibili.com/serverdate.js*',
    '*://*.hdslb.com/images/base/app-box.png',
    '*://api.bilibili.com/x/elec/show*',
    '*://static.hdslb.com/images/elecrank-empty.png',
    '*://live-feed.bilibili.com/ajax/feed/count*',
    '*://comment.bilibili.com/playtag,*',
    '*://interface.bilibili.com/msg.xml*',
    '*://data.bilibili.com/crossdomain.xml*',<commit_msg>background: add more tracking urls<commit_after>// options
const storageGet = () => new Promise((resolve) => chrome.storage.local.get(resolve));
let options = {
    'player': 'html5', // original swf iframe bilih5 html5 html5hd html5ld
    'rel_search': 'with', // off without with
    'trackingBlock': true,
    'scrollToPlayer': true,
    'api': 'offical',
    'opacity': 1,
    'prop': false,
    'scale': 1,
    'volume': 0.5,
    'replace': true,
};
const refreshOptions = () => storageGet().then((obj) => Object.assign(options, obj)).then(() => chrome.storage.local.set(options));
refreshOptions();

// static data
const trackingUrls = [
    '*://data.bilibilijj.com/free/*.txt*',
    '*://data.bilibili.com/log/web*',
    '*://cm.bilibili.com/cm/api/fees/pc',
    '*://cm.bilibili.com/cm/api/apidata/pc',
    '*://cm.bilibili.com/cm/api/receive/content/pc',
    '*://tajs.qq.com/stats*',
    '*://*.secureweb24.net/*',
    '*://*.cnzz.com/stat.php*',
    '*://*.hdslb.com/images/base/loading.gif',
    '*://*.hdslb.com/message/img/infocenterIcon-*.png',
    '*://*.hdslb.com/images/v3images/img_loading.png',
    '*://*.hdslb.com/images/v2images/topicons.png',
    '*://api.bilibili.com/crossdomain.xml*',
    '*://*.hdslb.com/crossdomain.xml*',
    '*://interface.bilibili.com/serverdate.js*',
    '*://*.hdslb.com/images/base/app-box.png',
    '*://api.bilibili.com/x/elec/show*',
    '*://static.hdslb.com/images/elecrank-empty.png',
    '*://live-feed.bilibili.com/ajax/feed/count*',
    '*://comment.bilibili.com/playtag,*',
    '*://interface.bilibili.com/msg.xml*',
    '*://data.bilibili.com/crossdomain.xml*',
{'fraction_non_alphanumeric': 0.24745984922976075, 'fraction_numerical': 0.008521796132415601, 'mean_word_length': 3.169398907103825, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4508832', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1195, 'n_words': 143}