Spoof user agent bookmarklet

Let's you edit the user agent for the page you are viewing, then the page is reloaded with the user agent you entered. Doesn't work on every site (DuckDuckGo, for example) and stops working as soon as you navigate away from the page. Some sites may use other detection methods so they still see the real user agent.

Tested to work on iOS browsers and macOS Safari, but doesn't work in Google Chrome on any platform, because of restrictions with regards to setting the user agent.

View on GitHub (last updated 2025-08-14 12:59 UTC)