Hacker News new | ask | show | jobs
by geofft 2342 days ago
If it's looking at the actual User-Agent string, can't you just set that to a well-known string? Chrome themselves are about to freeze their User-Agent: https://groups.google.com/a/chromium.org/d/msg/blink-dev/-2J...

Since your User-Agent string probably starts with "Mozilla/5.0" anyway despite not being Mozilla, you might as well just set it to Chrome's despite not being Chrome. (Vivaldi did that for other reasons: https://vivaldi.com/blog/user-agent-changes/)