Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What if more users install the browser extension/add-on that automatically changes the user-agent string based on domain name, e.g., for Instagram it changes to a random mobile user-agent. Sorry I forgot the name of the extension.


Here are a couple of such add-ons / extensions:

User-Agent Switcher https://addons.mozilla.org/en-US/firefox/addon/uaswitcher/

Custom UserAgent String https://addons.mozilla.org/en-US/firefox/addon/custom-user-a...

User-Agent Switcher and Manager https://addons.mozilla.org/en-US/firefox/addon/user-agent-st...

and a comment by "99" pointing to an extension-free method to quickly change the user agent:

https://www.ghacks.net/2019/12/23/custom-useragent-string-is...


There is also a browser-free method. Localhost proxy, e.g., haproxy, that rewrites User-Agent header according to URL and/or Host header.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: