In the case of mlb.tv (or any video streaming site), it is likely that there are legal implications in serving you content which is not licensed for that platform. There is nothing you can do to trick these sites. They will use JavaScript to check various variables and attributes which are known to have unique values per system and use that to identify which browser and/or platform you are on. Sites which didn’t want to give us that control wised up to those tricks and no longer trust user agent strings. A number of years ago, it became popular to alter your user agent string in various ways to get what you wanted. However, those sites are not the ones anyone is complaining about here.īut so far we are only talking about sites which (mostly) follow the rules. However, I’ve never seen such an extension for Safari and I expect Apple wouldn’t actually allow such an extension.Īs and explain, other sites will ignore the User Agent string completely and provide the same responsive site to everyone, in which case the layout is affected only by the size and orientation of the viewport. In some browsers you have been able to get extensions which alter the User agent String to trick sites into returning a different version of their site. When they see iPad OS, they will serve up their mobile site, ignoring your preference. Therefore, some sites will ignore the presence (or lack thereof) of the “Mobile” string and simply look at the platform. However, it still lists iPad OS as the platform. When you have the Request Desktop Site option enabled, all Safari does is not include “Mobile” in the string. Mobile browsers will include “Mobile” in the string to indicate that they should be sent the mobile version of the site. That string will identify the browser, version, platform (operating system), etc. With each request, your browser sends a user agent string in the request headers. Thanks, suppose it might be possible to fool the server into thinking your screen is a different size and resolution than it is, but I think Apple might have to build that functionality in (or maybe a browser maker can do it? Not sure). This makes a lot of sense to me, and solves the long running mystery of why it doesn’t always work to request a desktop site. You’re getting the only version there is for the screen you’re using. So sidebars hide or show or flow to different places depending on the screen – and there is no separate “desktop” version to provide when you request it. These sites are set up in such a way that they rearrange themselves based on the size, resolution and shape of your screen. Some sites have a single version, with a “responsive” layout and structure. Then requesting the desktop version gives you the “wrong” version, as you request, by misleading the server into thinking you’re using a desktop browser rather than a mobile browser. If they detects mobile browser they give you that version, and vice versa. Some sites have separate mobile and desktop versions. If I understand correctly, they may not be trying to force you to do anything.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |