mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Clear Analytics Insight buffers no page load
This commit is contained in:
parent
a8cf0896c5
commit
9d1bca99aa
@ -3870,6 +3870,10 @@ function updateIceCandidates(candidates) {
|
|||||||
function interceptHttpRequests() {
|
function interceptHttpRequests() {
|
||||||
var BLOCKED_URLS = [];
|
var BLOCKED_URLS = [];
|
||||||
if (PREFS.get(Preferences.BLOCK_TRACKING)) {
|
if (PREFS.get(Preferences.BLOCK_TRACKING)) {
|
||||||
|
// Clear Analytics Insight buffers
|
||||||
|
window.sessionStorage.removeItem('AI_buffer');
|
||||||
|
window.sessionStorage.removeItem('AI_sentBuffer');
|
||||||
|
|
||||||
BLOCKED_URLS = BLOCKED_URLS.concat([
|
BLOCKED_URLS = BLOCKED_URLS.concat([
|
||||||
'https://arc.msn.com',
|
'https://arc.msn.com',
|
||||||
'https://browser.events.data.microsoft.com',
|
'https://browser.events.data.microsoft.com',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user