Remove uuid from DNR reporting CSP to prevent it from being abused for tracking.

This commit is contained in:
hackademix 2024-11-12 09:35:37 +01:00
parent 64c317d862
commit ab2b39ce6e
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@
const reportingCSP = `${reportedCaps
.map(cap => `${cap}-src 'none'`)
.join(';')
}; report-to noscript-reports-${uuid()}`; // see /content/content.js securitypolicyviolation handler
}; script-src-elem 'none'; report-to noscript-reports-dnr`; // see /content/content.js securitypolicyviolation handler
let updatingSemaphore;