With your bad jokes this is the right week to give them up!
User-Agent Switcher for Chrome - Chrome Web Store
Spoofs & Mimics User-Agent strings.
With your bad jokes this is the right week to give them up!
Never gonna give them up,
Never gonna put them down…
I can’t tell if it’s fully implemented in the iOS version of Safari, but apparently there may be a Developer menu, inside of which is an option to set the user agent string - this is subtly different to just ‘request desktop site’ - if you can change the user agent string, your browser can tell the remote site that you are using something other than Safari on iOS
Is there a good source for user agents that you like?
As an occasional front-end web developer, I use user-agent switcher plugins/extensions reasonably often. Not so much now, as I do more backend/server-side dev.
Anyway, now I have confused everyone with industry jargon… here is a decent Chrome extension to switch user-agent:
Spoofs & Mimics User-Agent strings.
Similar extensions/plugins can be found for all major browsers.
User-agent is so easy to spoof that it is not taken very seriously by analysts. The data has some small value, but also has huge variance.
Anyway. My user-agent is currently
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Mobile Safari/537.36
Which says:
My browser (Chrome on Android) is:
Have a look here to see the data your browser uses to identify itself:
Every request your web browser makes includes your User Agent; find out what your browser is sending and what this identifies your system as.
( note, a little ad-heavy for my liking, but the results are correct )
If you search for What Is My User Agent, Google will return it immediately.
Nevermind, I misinterpreted RitterSports’ response.
So, what would be a good user agent to really try and convince a website that you’re on a PC?
Sorry. User-agent detection is completely based on the incredibly naive idea, from the early days of the internet, that we all would be honest.
Alas, humanity - and by extension - all user-agents, is a septic tank full of sewer run-off, and my god, did the shit people win.
So, no.
Just use your regular user agent. No one cares, except the expensive software that tells website owners that they need to cater to some random selection of user agent string because that is where they get 23% of hits.
Like most shit on the internet, this is unlikely to be true, and, is more likely to be quoted as part of a sales pitch.
I’m not sure if anyone cares anymore, but the user-agent was big in the period 1999 to 2005, or so, while the ubiquitous Microsoft Internet Explorer was super popular.
Browsers spoofed Explorer’s user-agent so that they would not get blocked by websites that did not meet standards, sadly it was a futile battle.
IE won. And we are all poorer for that today, a generation later.
The whole point of this thread was trying to convince a website (ultimate-guitar) that I’m on a PC so it would stop nagging about using the app.
You probably don’t want / need to hear this, but an Android tablet has a desktop mode, which shows you websites as you’d see them on a PC.
I’m not sure what you’re saying here, but AFAIK “desktop view” is a browser-specific function whose effectiveness is likewise also browser-specific – that is, there’s no global setting for “make this tablet OS look like it’s a PC”. At least, not with Amazon Fire, which runs a version of Android.
I use Firefox for Android, and selecting desktop view works just fine, but its persistence is limited to each tab. Every new tab created defaults to mobile view.
Fortunately, in my case the only site where I really care much about the distinction is the SDMB, and I get it to consistently open in desktop view by appending a Discourse-specific string to the bookmarked URL:
/?mobile_view=0
So, what would be a good user agent to really try and convince a website that you’re on a PC?
Just pretend to be desktop Chrome on Windows, the most common configuration. Something like:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Screenshot
For the specific case of ultimate-guitar.com, it’s the “mobile” keyword anywhere in the user agent string that causes it to change:
Screenshot
But that isn’t a hard-and-fast rule. There is no single “standard” way that websites use to detect mobile browsers. But it’s often some combination of (in my experience, most to least common, but varies by site):
But generally speaking, if you use a desktop browser user agent AND a wide enough viewport (usually by simply rotating your tablet to landscape), it should work for most sites. The “request desktop site” built into some mobile browsers just changes the user agent and viewport scaling for you. Some mobile browsers might let you explicitly change those with more control, but the end effect should still be the same.
Wow! Thanks! I’ll give it a try soon.
As far as I can tell, there’s no (free) way to arbitrarily change the user agent in iOS. There’s a paid web browser, but I have no idea if that will actually solve my problem. I’d be happy to give it a try with a one-week testing period, but that doesn’t seem to be available.
Also, I find it weird how many common free things in Android and PC land are paid for in iOS – many ad blockers, for example, and that browser I mentioned.
I suspect that has something to do with Apple’s locked-down approach which means everyone and everything is a monopoly. Especially Apple itself.