Hacker News new | ask | show | jobs
by 0x0 1950 days ago
I bet it's fun being responsible for developing and deploying on those sites. Works in CI and dev, but deploying to production makes the browser behave differently! Nice surprise!
1 comments

A lot of the domain filters use things like:

topPrivatelyControlledDomain(url.host().toString()).startsWith("google.")

The definition of `topPrivatelyControlledDomain` means that `google.github.io` would qualify, or `google.works.aero`... Pretty much anybody can abuse that to get any of the quirks modes available in this file.

See the full list here:

https://publicsuffix.org/list/public_suffix_list.dat