2024-01-16 19:10:32 +00:00
|
|
|
commit aaee6f230dbc4355dcf7fe898df131034101bbbd
|
2023-07-18 22:38:30 +00:00
|
|
|
Author: Colin <colin@uninsane.org>
|
2024-01-16 19:10:32 +00:00
|
|
|
Date: 2024-01-16 18:48:05 +0000
|
2023-07-18 22:38:30 +00:00
|
|
|
|
|
|
|
disable metrics reporting
|
|
|
|
|
|
|
|
diff --git a/background.js b/background.js
|
2024-01-16 19:10:32 +00:00
|
|
|
index eed1089..281b77b 100644
|
2023-07-18 22:38:30 +00:00
|
|
|
--- a/background.js
|
|
|
|
+++ b/background.js
|
2024-01-16 19:10:32 +00:00
|
|
|
@@ -979,16 +979,6 @@ ext_api.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
|
2023-07-18 22:38:30 +00:00
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2024-01-16 19:10:32 +00:00
|
|
|
-setTimeout(function () {
|
2023-07-18 22:38:30 +00:00
|
|
|
-setInterval(function () {
|
|
|
|
- let current_date_str = currentDateStr();
|
|
|
|
- if (last_date_str < current_date_str) {
|
|
|
|
- bpc_count_daily_users(current_date_str);
|
|
|
|
- last_date_str = current_date_str;
|
|
|
|
- }
|
|
|
|
-}, 60 * 60 * 1000);
|
2024-01-16 19:10:32 +00:00
|
|
|
-}, 1000);
|
|
|
|
-
|
2023-07-18 22:38:30 +00:00
|
|
|
var extraInfoSpec = ['blocking', 'requestHeaders'];
|
|
|
|
if (ext_api.webRequest.OnBeforeSendHeadersOptions.hasOwnProperty('EXTRA_HEADERS'))
|
2024-01-16 19:10:32 +00:00
|
|
|
extraInfoSpec.push('extraHeaders');
|