Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yellowlist *.prismic.io #2178

Closed
hansottowirtz opened this issue Oct 1, 2018 · 3 comments
Closed

Yellowlist *.prismic.io #2178

hansottowirtz opened this issue Oct 1, 2018 · 3 comments
Labels
broken site yellowlist Domains on this list are allowed but with restrictions: no referrer headers or cookies/localStorage

Comments

@hansottowirtz
Copy link

What is your browser and browser version?

Chrome 69.0.3497.100

What is broken and where?

I build sites using prismic.io, a headless CMS. However, *.prismic.io and *.cdn.prismic.io are blocked, so I have to disable name-of-site.prismic.io and then name-of-site.cdn.prismic.io in privacy badger before being able to use the site. An example of such a site is greenplease.be.

What is the domain that causes breakage when blocked? What is your debug output for this domain?

All *.prismic.io sites.

**** ACTION_MAP for prismic.io
VM414:5 factalight.cdn.prismic.io {
  "dnt": false,
  "heuristicAction": "block",
  "nextUpdateTime": 1538368618593,
  "userAction": "user_cookieblock"
}
VM414:5 factalight.prismic.io {
  "dnt": false,
  "heuristicAction": "",
  "nextUpdateTime": 1538592620283,
  "userAction": "user_cookieblock"
}
VM414:5 greenplease.cdn.prismic.io {
  "dnt": false,
  "heuristicAction": "allow",
  "nextUpdateTime": 1538815572236,
  "userAction": "user_cookieblock"
}
VM414:5 prismic.io {
  "dnt": false,
  "heuristicAction": "block",
  "nextUpdateTime": 0,
  "userAction": ""
}
VM414:5 greenplease.prismic.io {
  "userAction": "user_cookieblock",
  "dnt": false,
  "heuristicAction": "",
  "nextUpdateTime": 1538586606409
}
VM414:7 **** SNITCH_MAP for prismic.io
VM414:9 prismic.io [
  "greenplease.be",
  "greenplease.localhost",
  "factalight.be"
]
@ghostwords ghostwords added broken site yellowlist Domains on this list are allowed but with restrictions: no referrer headers or cookies/localStorage labels Oct 1, 2018
@ghostwords
Copy link
Member

This is another set of broken sites caused by Badger not auto-learning to block Google Analytics (#367). When you visit prismic.io directly, GA sets a first-party cookie on prismic.io; Prismic uses prismic.io subdomains scoped to the GA cookie to serve static resources; Badger learns to block those subdomains.

@bcyphers
Copy link
Contributor

bcyphers commented Oct 3, 2018

Related to this, should we ignore *.localhost first-party domains when identifying trackers?

@ghostwords
Copy link
Member

ghostwords commented Oct 3, 2018

Perhaps ... Maybe we should apply existing learning but not learn anything new when on a .localhost page? Let's continue in #817.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken site yellowlist Domains on this list are allowed but with restrictions: no referrer headers or cookies/localStorage
Projects
None yet
Development

No branches or pull requests

3 participants