Skip to content

Commit

Permalink
Tweak list of fingerprinting script CDNs
Browse files Browse the repository at this point in the history
Following up on #2891
  • Loading branch information
ghostwords committed Apr 18, 2023
1 parent a196a48 commit 2afc8ea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/js/webrequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,12 @@ function onBeforeRequest(details) {
// hosted by (user)cookieblocked CDNs
if (type == 'script' || sw_request) {
if (action == constants.COOKIEBLOCK || action == constants.USER_COOKIEBLOCK) {
if (request_host == 'cdnjs.cloudflare.com' ||
request_host == 'cdn.jsdelivr.net' ||
if (request_host == 'cdn.jsdelivr.net' ||
request_host == 'cdnjs.cloudflare.com' ||
request_host == 'd38xvr37kwwhcm.cloudfront.net' ||
request_host.endsWith('.azureedge.net') ||
request_host.endsWith('.storage.googleapis.com')) {
request_host == 'd.alicdn.com' ||
request_host == 'gadasource.storage.googleapis.com' ||
request_host.endsWith('.azureedge.net')) {

let fpScripts = badger.storage.getStore('fp_scripts').getItem(request_host);

Expand Down

0 comments on commit 2afc8ea

Please sign in to comment.