Skip to content

Commit

Permalink
Temporarily disable anti-tracking fingerprinting removal in URLs (#2102)
Browse files Browse the repository at this point in the history
* Temporarily disable anti-tracking fingerprinting removal in URLs.

Rationale: there are currently open issues like ghostery/broken-page-reports#873; we need to find solutions before we can safely enable it again.

Note "dry-run" mode applies to Firefox only. Chromium-based browsers are on Manifest V3 (where blocking webRequestAPI is not available). And on Safari, urlReporting (including the anti-tracking subsystem) is disabled completely (mostly because of quirks in the APIs).

refs whotracksme/webextension-packages#142
  • Loading branch information
philipp-classen authored Dec 2, 2024
1 parent 169a7ed commit 0e551f5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@ghostery/adblocker-webextension": "^2.1.1",
"@github/relative-time-element": "^4.3.0",
"@sentry/browser": "^8.41.0",
"@whotracksme/reporting": "^5.1.38",
"@whotracksme/reporting": "^5.2.0",
"bowser": "^2.11.0",
"hybrids": "^9.1.8",
"idb": "^8.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/background/reporting/webrequest-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ if (__PLATFORM__ === 'chromium' || __PLATFORM__ === 'firefox') {
getBrowserInfo,
isRequestAllowed: (state) =>
!options.blockTrackers || isPaused(options, state.tabUrlParts.hostname),
dryRunMode: true,
onTrackerInteraction: (event, state) => {
if (event === 'observed') {
return;
Expand Down

0 comments on commit 0e551f5

Please sign in to comment.