Skip to content

Commit

Permalink
- added Suppressing Google's "Protected" Audience API AdguardTeam/S…
Browse files Browse the repository at this point in the history
…criptlets#395

- added `Suppressing Private State Token API` Closes #175725
- changed `Suppressing both Google's Topics API and Topics API using Permissions policy` (related to `TODO: remove $document modifier after versions with Corelibs 1.14.38+ will be released`)
  • Loading branch information
Alex-302 committed Sep 5, 2024
1 parent a31c345 commit 28e8039
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions SpywareFilter/sections/general_extensions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -403,17 +403,25 @@ accountkiller.com#%#window.ga = function(){var a = arguments[5];a&&a.hitCallback
!
! Suppressing Google's "Protected" Audience API:
! https://wicg.github.io/turtledove/
! TODO: Add a scriptlet: https://github.com/AdguardTeam/Scriptlets/issues/395
! https://github.com/AdguardTeam/Scriptlets/issues/395
#%#//scriptlet('no-protected-audience')
!
!#if (!ext_ublock)
! Suppressing both Google's Topics API and Topics API using Permissions policy
! Works in CoreLibs-based AdGuard versions, the browser extension waits for https://github.com/AdguardTeam/tsurlfilter/issues/66
! Part with "://*.*" before "$permissions=" is required, otherwise it will be marked as too wide rule
! AGLint temporarily disabled for this rule due to https://github.com/AdguardTeam/AGLint/issues/191
! TODO: Enable it back when AGLint is fixed.
! TODO: remove $document modifier after versions with Corelibs 1.14.38+ will be released
!#if (!ext_ublock)
! aglint-disable-next-line
://*.*$document,permissions=join-ad-interest-group=()\,run-ad-auction=()\,browsing-topics=()
*$permissions=join-ad-interest-group=()
! aglint-disable-next-line
*$permissions=run-ad-auction=()
! aglint-disable-next-line
*$permissions=browsing-topics=()
!
! Suppressing Private State Token API
! aglint-disable-next-line
*$permissions=private-state-token-issuance=()
! aglint-disable-next-line
*$permissions=private-state-token-redemption=()
!#endif
!
! End: Rules for Google "Privacy" Sandbox
Expand Down

0 comments on commit 28e8039

Please sign in to comment.