Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Counter FLoC checks #592

Closed
wants to merge 1 commit into from
Closed

Counter FLoC checks #592

wants to merge 1 commit into from

Conversation

ryanbr
Copy link
Contributor

@ryanbr ryanbr commented Apr 11, 2021

Already implemented by Brave, uBO, Adguard, Duckduckgo

*##+js(set, document.interestCohort, undefined) which became more specific Document.prototype.interestCohort (Thanks Adguard)

Test case: https://amifloced.org/ But will eventually occur on various sites.

Given it's supported by other Adblock extensions, for privacy, it should also be covered by ABP

@ryanbr
Copy link
Contributor Author

ryanbr commented Apr 11, 2021

If it needs to be applied to other languages, can create an updated PR.

@ryanbr
Copy link
Contributor Author

ryanbr commented Apr 12, 2021

Note, to get around the domain requirement check in ABP.

Add `amifloced.org#$#override-property-read Document.prototype.interestCohort undefined`
Once added, change to `*#$#override-property-read Document.prototype.interestCohort undefined`

Confirmed it works

@ryanbr ryanbr closed this Apr 12, 2021
@ryanbr
Copy link
Contributor Author

ryanbr commented Apr 12, 2021

Needs work, * not working as intended as for domain wildcard

@ghost
Copy link

ghost commented Apr 12, 2021

Possible test here:

floc.glitch.me

@wizmak
Copy link
Member

wizmak commented Apr 12, 2021

Unfortunately domain wildcards is not supported in this case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants