Skip to content

Commit

Permalink
Suppress Google FLoC on all websites when Tracking Protection filter …
Browse files Browse the repository at this point in the history
…is enabled

Google started experimenting with FLoC in Chrome browser. This new API is supposed to replace third-party cookies and allow learning about users behavior in a more privacy preserving way than it was.

We are pretty sure that people who use AdGuard Tracking Protection filter are not okay with websites learning about their behavioral groups regardless of how preserving it is.

There's an article by EFF explaining issues of this new API and we agree with every point there:
https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea
  • Loading branch information
ameshkov committed Apr 11, 2021
1 parent 79b9dcb commit fcc7f0f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions SpywareFilter/sections/general_extensions.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
!-------------------
!-------JS----------
!-------------------
!
! This rule is for suppressing Google FLoC.
! Read more about it here:
! https://www.eff.org/deeplinks/2021/03/googles-floc-terrible-idea
#%#//scriptlet('set-constant', 'document.interestCohort', 'undefined')
!
! https://github.com/AdguardTeam/AdguardFilters/issues/24789
timesnownews.com#%#//scriptlet("set-constant", "ga", "noopFunc")
Expand Down

13 comments on commit fcc7f0f

@wout-codes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ameshkov Hello. I propose that AdGuard should create a scriptlet similar to what uBlock Origin had done. Take a look.
gorhill/uBlock@bfdc81e

@krystian3w
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree add *##+js(no-floc) for uBO users.

or *#%#//scriptlet('set-constant', 'document.interestCohort', 'undefined')

@ameshkov
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That scriptlet is pretty much the same as the rule I've added.

I guess we'll add it for compatibility purposes, but generally, I don't see any real need for it besides that: AdguardTeam/Scriptlets#124

What's more interesting in that commit is using Permissions-Policy header for disabling FLoC.
I want to add a separate rule modifier for modifying this header, just like what we have for $csp: AdguardTeam/CoreLibs#419

Read this header spec just in case, it allows doing some pretty neat things like disabling geolocation, battery API, vibration access, etc, etc.

@wout-codes
Copy link
Contributor

@wout-codes wout-codes commented on fcc7f0f Apr 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it integrated in the products yet? I am quite happy by AdGuard's improvement time to time.

@vbagirov
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it integrated in the products yet? I am quite happy by AdGuard's improvement time to time.

There's no need for software updates, just make sure that Tracking protection filter is active and then check for filter updates in your AdGuard app/browser extension.

@ameshkov
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it integrated in the products yet? I am quite happy by AdGuard's improvement time to time.

New permissions policy modifier? Not yet, it's under development

@wout-codes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. The permissions policy modifier sounds awesome.

@krystian3w
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible with Manifest V3: https://github.com/SphinxKnight/nofloc (or addon omited checking Manifest V3).

@ameshkov
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krystian3w scriptlets in general are possible with Manifest V3. Headers modification will also be possible.

@raykai
Copy link

@raykai raykai commented on fcc7f0f Apr 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracking protection filter

Do you have a step-by-step for Adguard for windows? I'm new to it all.

@ameshkov
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raykai

Do you have a step-by-step for Adguard for windows? I'm new to it all.

Settings -> Ad Blocker -> Add filter -> Choose "AdGuard Tracking Protection filter" (if it's not enabled already)

@raykai
Copy link

@raykai raykai commented on fcc7f0f Apr 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raykai

Do you have a step-by-step for Adguard for windows? I'm new to it all.

Settings -> Ad Blocker -> Add filter -> Choose "AdGuard Tracking Protection filter" (if it's not enabled already)

How about on android?

@krystian3w
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A similar.

Please sign in to comment.