surface and user agent to view webiste as "normal" and not mobile. - Microsoft Surface

Hi
i've got a question for you :
on any android device, when you want to view a website in "desktop mode", all you have to do, is to change the "user agent" and, et voila, it works. All website are now in "desktop mode".
I would like to do the same on my surface, but, permanently ! I don't want to, everytime, go to "f12" menu and change the user agent to chrome or firefox.
On other forums, peoples told me : "oh you cant, it is a server side problems, all website are not "well coded". and blablabla...."
but i know it's wrong, because i do it, time to time, with the "f12" option. and i know it is possible on android device. (so the problem comes from the surface, which identificate itself as a mobile or "arm" device...)
so my question is : how do I do to change the user agent on the surface, and permanently. i know i have to deal with the "gpedit.msc" and change it here....but for some websites, it is still recognise as a tablet device and then, a mobile website. Which user agent I must use ? (when i do it from time to time with the "f12" option, I use the "chrome or firefox" string, and it works well).
ps : sorry for my english, not my mother tongue.

I've used Surface RT for months without ever being redirected to a mobile website... not sure what's up with your experience. A few sites have recognized the RT/ARM portion, but the page was not notably different; certainly it looked nothing like what I get on my phone's Mobile mode.
You can use Compatibility mode to send the IE7 user-agent string to a given site. Hardly a perfect fix, especially if the site would like to use HTML5, but I don't know a better option.

GoodDayToDie said:
I've used Surface RT for months without ever being redirected to a mobile website... not sure what's up with your experience. A few sites have recognized the RT/ARM portion, but the page was not notably different; certainly it looked nothing like what I get on my phone's Mobile mode.
You can use Compatibility mode to send the IE7 user-agent string to a given site. Hardly a perfect fix, especially if the site would like to use HTML5, but I don't know a better option.
Click to expand...
Click to collapse
hi
thks for your answer
What i don't understand, is that we can manually change the user agent (and then view the website in a "normal mode") by pressing f12, and choose another browser, and it works perfectly. All websites are in 'desktop mode". So why can't we do that automatically? i don't want to do that each time i visit a website. I want it done once for all !
The surface identificate itself to a RT/arm device and that's why websites redirect automatically to a mobile version.
Is there anyway to remove this identification, and make sure the surface is always recognize as a "desktop" computer ?

There used to be a registry hack that would override the default user-agent string, though I don't know if it still works with IE10. Browser plugins can do it, but those aren't going to be available on RT.
As for what string to change it to, I'd suggest just the default UA string for Win8/IE10 on x86 or x64. You can find this using sites like useragentstring.com. For the record, mine is
Code:
Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
and if you drop the "WOW64; " part, it's identical to the x86 one.

Same here...
It would be great a solution for IE reconize always as "Desktop mode" without need F12 changing procedure.
I use www.bet365.com and it´s always reconigzed as mobile

Related

mobile.southwest.com

Does anyone know how to reach the site mobile.southwest.com? This site detects my phone as being a PC and transfers me to the regular site, which has different functionality (can't establish your boarding group without a printer) and is slow besides.
It is not a browser issue. I have now tried PIE, Opera mini, Minimo, and Netforce 3.3, and can't reach mobile.southwest.com on any of them. So it must be that they detect the type of device and I need to fool it, probably by changing the registry that tells it how to respond. I found these settings in the wiki but don't know what I should change it to.
I am sorry for repeating this -- I posted the same question in the wizard forum without a useful response.
Wiki settings location (search user agent on the page)
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other&version=70
Wap browser
So I tried installing winwap, and it found mobile.southwest.com without a problem. So that is a solution, albeit a $50 one!
Klondike has a $23 wap browser.
Why are wap browsers so expensive? Isn't it easier to render a wap image? In any event, since my only known use of a wap browser is southwest, does anyone know of a less expensive solution?
Klondike works well
Klondike is actually pretty nice. It seems useful enough to own, at least for traveling in Europe on $15/MB GPRS. The trial version is fully functional, just with a "why don't you buy?" screen periodically. It runs off the sd card. It is lightning fast, since so little data is moved.
What agent setting does your registry list right now? Make sure that it is "Windows CE". You could also try using Tweaks 2k2 to enable Blazer support (the demo is run limited, but fully functional).
Ninja
you might want to email southwest and ask them to add PocketIE to the list of browsers that will not redirect to the "full" site.
I had this re-direction problem with another website, and one quick email got them to reconfigure things from their end. problem solved & no expensive (and un-necessary) program purchases (so more $$$ for games!!!)
Thanks
The agent is set to Windows CE; that isn't the reason, alas.
I went to email Southwest, but they don't take email. Coming soon, the site says.
Hmm...
I use this site often with PIE without any issues....I really prefer Opera Mini, but can't get it to go to the mobile.southwest site properly.
FYI
Device
Jellyroll said:
Hmm...
I use this site often with PIE without any issues....I really prefer Opera Mini, but can't get it to go to the mobile.southwest site properly.
FYI
Click to expand...
Click to collapse
Are you using a wizard?

[Q] internet explorer problem, please help

Hi guys, I have a small problem and I am hoping someone can help me a little. Basicly what happened is after updating to mango I was unable to open my work webpages. I work as a flight attendant and I have 2 webpages from work that I must check everyday (company mail and flight schedual). Before updating to mango they worked without problems. I know my company website has some problem with the certificate but never the less it used to work but now after the update they dont work anymore... I enter username and password and I can only see blank page and the loading bar (coloured line) stay at about 90% for a while and after a while it reaches 100% but nothing happens. My phone is a LG optimus 7. one of the pages is: HTTPS :// oword dot airitaly dot it/
Any help would be much appreciated. Best regards.
I suggest you rollback to NoDo for now.
It could be a bug or it be that the website is incompatible with Internet Explorer 9.
The problem is similar to one I have found with the Scandinavian Airlines mobile internet site and appears to be caused by the User-Agent String of IE9 reporting:
Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; <manufacturer>; <model> [;<operator])
The previous versions reported:
Mozilla/4.0 (compatible; MSIE 7.0; Windows Phone OS 7.5; Trident/3.1; IEMobile/7.0; <manufacturer>; <model> [;<operator])
I think this is the issue. There are several pages that work in IE9 on a PC but fail when the mobile browser UA is used.
Could any suggest a tool or trick that could shift the UA in Windows Phone 7 in a similar way to that which is possible in the desktop version using the F12 tools?
An app that switched between Mozilla/4.0 and Mozilla/5.0 would be very useful...
Do none of the optional browsers use flags that would cause a page to display properly?
John

WP7 Mobile sites not showing up?

So I try to access some sites and it sends me directly to a wap site or desktop version. Perfect example was m.facebook.com Old and ugly, someone on xda had mentioned touch.facebook.com What a world of a difference. Does anyone else have any other sites like this?
Another question. Engadget, kotaku, ext.... I use their mobile sites and it wont show the comment sections. I have to direct my self to the desktop version just to see it... Anyone know a work around to this? Thanks in advance.
Not sure if this is what you're asking, but I just leave my phone in desktop mode pretty constantly - the few sites that I wish were in mobile mode can be switched easily enough, and the number of sites which are broken in mobile mode seems to be greater than the number that are broken in desktop mode.
A good example of a site that just does *not* work right on WP7, due to the server over-sealously sniffing the user-agent (recognizing the phone browser even when IE is set to "Desktop" mode), is Gmail. The mobile site is buggy, and there's no way that I've found to force it to actually use the desktop site... so I end up using the plain HTML view if I have to use Gmail for anything beyond accessing my psersonal mail account (which is synced). There are a few other similarly poory-behaved sites.
One would hope that sites with a touch-optimized UI (as opposed to mobile-optimized, which typically just means minimal bandwidth and extremely dumbed-down code), such as touch.facebook.com, would auto-detect WP7 and send it to that site instead (especially if the user-agent is not set to Desktop mode).
queefinout said:
So I try to access some sites and it sends me directly to a wap site or desktop version. Perfect example was m.facebook.com Old and ugly, someone on xda had mentioned touch.facebook.com What a world of a difference. Does anyone else have any other sites like this?
Another question. Engadget, kotaku, ext.... I use their mobile sites and it wont show the comment sections. I have to direct my self to the desktop version just to see it... Anyone know a work around to this? Thanks in advance.
Click to expand...
Click to collapse
well for engadget there is an app supports comments

[Q] How To See Full Desktop Sites on Nexus5?

Some websites force mobile device users to the mobile version of their sites - whether they want it or not. In particular, engadget.com and npr.org. NPR.org blocks some features of their desktop site from phone and tablet users. They do not offer the desktop site to mobile users as an option. I have tried...
Different browsers: Chrome, Firefox, DolphinHD, Maxthon.
Changing the User Agent (Desktop UA or custom UAs).
Turning off JavaScript.
Turning off fit display to screen.
These work on most sites but not the two I mentioned (I'm sure others, as well).
Despite what I've tried, how does the site still know I'm using a (Nexus 5) smartphone?
And what can I do to spoof these sites so they let me have the full desktop version?
Thanks.
FredLeonard said:
Some websites force mobile device users to the mobile version of their sites - whether they want it or not. In particular, engadget.com and npr.org. NPR.org blocks some features of their desktop site from phone and tablet users. They do not offer the desktop site to mobile users as an option. I have tried...
Different browsers: Chrome, Firefox, DolphinHD, Maxthon.
Changing the User Agent (Desktop UA or custom UAs).
Turning off JavaScript.
Turning off fit display to screen.
These work on most sites but not the two I mentioned (I'm sure others, as well).
Despite what I've tried, how does the site still know I'm using a (Nexus 5) smartphone?
And what can I do to spoof these sites so they let me have the full desktop version?
Thanks.
Click to expand...
Click to collapse
The closest experience to desktop is given by Puffin browser. Try it and see
aosp browser, enable the request desktop site.
Hi,
Desktop mod for these sites?
Thanks for your replies.
I tried Puffin and AOSP (set to request desktop site) on NPR and Engadget and they still gave me the mobile site. Both do have full desktop sites but apparently won't give them if they detect a phone or tablet (regardless of the User Agent string).
Besides the browser's user agent string, what other info is Android or Nexus 5 sending to websites to identify itself and how can I spoof the site into thinking I'm using a desktop.
In these attempts, I am using WiFi (my home network) and not the mobile phone data network.
FredLeonard said:
Thanks for your replies.
I tried Puffin and AOSP (set to request desktop site) on NPR and Engadget and they still gave me the mobile site. Both do have full desktop sites but apparently won't give them if they detect a phone or tablet (regardless of the User Agent string).
Besides the browser's user agent string, what other info is Android or Nexus 5 sending to websites to identify itself and how can I spoof the site into thinking I'm using a desktop.
In these attempts, I am using WiFi (my home network) and not the mobile phone data network.
Click to expand...
Click to collapse
According to a web browser (Lightning Browser) Developer, (A.C.R. Development)
Some websites check the screen size of the device viewing the site and decide to show a mobile site or desktop site based on that, instead of solely relying on the user-agent string. – A.C.R.
Click to expand...
Click to collapse
@A.C.R.Development would there be a way to fake a normal desktop screen size do you think?
Click to expand...
Click to collapse
@xxxxx I don't think there is a way
Click to expand...
Click to collapse
GUGUITOMTG4 said:
According to a web browser (Lightning Browser) Developer, (A.C.R. Development)
Click to expand...
Click to collapse
Unfortunately, I think you're right. It appears sites are using CSS Media Queries to find out the screen size and using that information to decide which version of their sites to offer up. So far, I've found nothing that allows you to spoof or block media queries. I plan to try using TOR but for now that's my last shot.
For the record, I appreciate mobile sites and I can appreciate content may sometimes need to be truncated on mobile sites. Seems sort of arrogant for these sites to go out of their way to keep users from getting the full desktop site on mobile devices (both phones and tablets).
Thanks, again.

Chrome's "request desktop version" increasingly ineffective.

I recognize that this issue is really with Chrome and not specific to my Nexus 5, so if this should have been posted elsewhere instead, my apologies in advance.
The problem -
I am finding that increasingly Chrome's "request desktop version" option is unable to get me out of mobile site versions. When the site doesn't have its own mechanism for changing between the two, this glitch can become annoying.
I know that site designers probably have a role in breaking this functionality, but at the same time, it seems to me that all browsers must be able to appear as a desktop if they really want to, because browsers determine what header information / system specs to communicate to the site. So why are there an increasing number of sites where I can't escape the mobile version using this menu item in Chrome?
In the past, I've solved this by using Dolphin, set permanently to desktop mode. However, a couple problems with this work-around exist:
- I've now run into sites that even Dolphin can't force to go desktop version.
- I don't particularly like Dolphin, and it's a pain to switch to it for one-off uses.
Any thoughts?
It seems like a great idea to make a browser whose sole selling point is that it returns the exact system / browser info that a vanilla desktop browser would, and provides no indication to the website that it's a mobile device. There are just so many sites with horrible mobile versions
rhd-android said:
I recognize that this issue is really with Chrome and not specific to my Nexus 5, so if this should have been posted elsewhere instead, my apologies in advance.
The problem -
I am finding that increasingly Chrome's "request desktop version" option is unable to get me out of mobile site versions. When the site doesn't have its own mechanism for changing between the two, this glitch can become annoying.
I know that site designers probably have a role in breaking this functionality, but at the same time, it seems to me that all browsers must be able to appear as a desktop if they really want to, because browsers determine what header information / system specs to communicate to the site. So why are there an increasing number of sites where I can't escape the mobile version using this menu item in Chrome?
In the past, I've solved this by using Dolphin, set permanently to desktop mode. However, a couple problems with this work-around exist:
- I've now run into sites that even Dolphin can't force to go desktop version.
- I don't particularly like Dolphin, and it's a pain to switch to it for one-off uses.
Any thoughts?
It seems like a great idea to make a browser whose sole selling point is that it returns the exact system / browser info that a vanilla desktop browser would, and provides no indication to the website that it's a mobile device. There are just so many sites with horrible mobile versions
Click to expand...
Click to collapse
From my experience, this is because sites are basing which site to display on the resolution of the device rather than the user agent. In the case of the N5, whether you have Desktop mode or Phone mode enabled, you're still reporting a 1080x1920 resolution (note the order). No desktop computer will have a screen width of 1080px (desktop monitor in portrait notwithstanding) thus it concludes you're on a 1080p mobile, therefore mobile website for you!
it is utterly infuriating and I share your pain...
Is there a site we can test that on? Flip to landscape...
Sent from my Nexus 5 using Tapatalk
rootSU said:
Is there a site we can test that on? Flip to landscape...
Click to expand...
Click to collapse
Engadget is an example, and flipping to landscape doesn't solve it.
So it must be detecting something other than screen resolution and user agent.
rhd-android said:
Engadget is an example, and flipping to landscape doesn't solve it.
So it must be detecting something other than screen resolution and user agent.
Click to expand...
Click to collapse
probably detecting the OS and forcing it that way.
rhd-android said:
Engadget is an example, and flipping to landscape doesn't solve it.
So it must be detecting something other than screen resolution and user agent.
Click to expand...
Click to collapse
Yeah I found engadget and npr.org in another thread and landscape didn't fix it. Maybe as @Zepius says
Sent from my Nexus 5 using Tapatalk
rootSU said:
Yeah I found engadget and npr.org in another thread and landscape didn't fix it. Maybe as @Zepius says
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
looking at engadget's source, they use the service optimizely. which looks to be a website optimizer for mobile. i bet it checks the OS to determine how to display the webpage.
Zepius said:
looking at engadget's source, they use the service optimizely. which looks to be a website optimizer for mobile. i bet it checks the OS to determine how to display the webpage.
Click to expand...
Click to collapse
Maybe this is a silly question, but why can't the browser lie about that too?
rhd-android said:
Maybe this is a silly question, but why can't the browser lie about that too?
Click to expand...
Click to collapse
because its querying the system every time there is a request for the OS.
Zepius said:
because its querying the system every time there is a request for the OS.
Click to expand...
Click to collapse
Sorry, I should have phrased that differently, my response wasn't very clear -
If Chrome actually wanted to "request desktop version" feature to works, wouldn't they want to tell websites that the OS was Windows? In other words, if "request desktop version" spoofs in a user agent from a desktop browser, why wouldn't that feature also spoof the OS when asked by the website?
rhd-android said:
Sorry, I should have phrased that differently, my response wasn't very clear -
If Chrome actually wanted to "request desktop version" feature to works, wouldn't they want to tell websites that the OS was Windows? In other words, if "request desktop version" spoofs in a user agent from a desktop browser, why wouldn't that feature also spoof the OS when asked by the website?
Click to expand...
Click to collapse
because thats not the way the app is coded. the websites are hard coded to ignore user agents (i believe) and to go based on the OS to tell if its mobile or desktop. you would need a browser or a mod to fake the OS name/version.
Well. In reality, websites can't really determine that you're using Android as chrome removes this information when you're using the "desktop version" checkbox. Here's an exemple of the useragent sent by chrome with/out the checkbox :
Without the "show desktop version" : Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.117 Mobile Safari/537.36
With the "show desktop version" : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.117 Safari/537.36
On a real chrome desktop (windows) : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
So, there's not really any information (just the Windows NT 6.1) that could say to the website is they need to show a mobile version of their website.
Maybe the website is coded to adjust itselft automaticaly to the screen resolution (responsive design) or, maybe they just put a cookie when you go on the website without the "show desktop version" and, when you enable it, cookie is still present, and they continue to display the mobile version ? (So, try to clean cookies, etc, before checking the box )
Charlus97 said:
Well. In reality, websites can't really determine that you're using Android as chrome removes this information when you're using the "desktop version" checkbox. Here's an exemple of the useragent sent by chrome with/out the checkbox :
Without the "show desktop version" : Mozilla/5.0 (Linux; Android 4.4.2; Nexus 5 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.117 Mobile Safari/537.36
With the "show desktop version" : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.117 Safari/537.36
On a real chrome desktop (windows) : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36
So, there's not really any information (just the Windows NT 6.1) that could say to the website is they need to show a mobile version of their website.
Maybe the website is coded to adjust itselft automaticaly to the screen resolution (responsive design) or, maybe they just put a cookie when you go on the website without the "show desktop version" and, when you enable it, cookie is still present, and they continue to display the mobile version ? (So, try to clean cookies, etc, before checking the box )
Click to expand...
Click to collapse
I cleared cookies - that didn't help.
In fact, I also just tried an app:
https://play.google.com/store/apps/details?id=com.appo2.ua
It launches an instance of Chrome with the user-agent already changed (no clicking "request desktop version" required). I launched an instance as IE 10. I went to a user agent site to confirm that the UA was changed (in fact, I already felt pretty confident because the google search results were full desktop size/scale). UA was confirmed. Cleared all cookies, cache. Set my phone to landscape. Visited engadged by typing the ULR fresh (not a bookmark or anything). Boom, still goes to the mobile version
Doing some googling, I ran into some techniques for detecting mobile browsers. I'm betting that Engadget (and others where this occurs are using a CSS based technique similar to #5 or #6 here:
http://designm.ag/resources/8-techniques-for-mobile-retina-devices-detection/
rhd-android said:
I cleared cookies - that didn't help.
In fact, I also just tried an app:
https://play.google.com/store/apps/details?id=com.appo2.ua
It launches an instance of Chrome with the user-agent already changed (no clicking "request desktop version" required). I launched an instance as IE 10. I went to a user agent site to confirm that the UA was changed (in fact, I already felt pretty confident because the google search results were full desktop size/scale). UA was confirmed. Cleared all cookies, cache. Set my phone to landscape. Visited engadged by typing the ULR fresh (not a bookmark or anything). Boom, still goes to the mobile version
Doing some googling, I ran into some techniques for detecting mobile browsers. I'm betting that Engadget (and others where this occurs are using a CSS based technique similar to #5 or #6 here:
http://designm.ag/resources/8-techniques-for-mobile-retina-devices-detection/
Click to expand...
Click to collapse
Hm.. What's the exact URL of the mobile version of the site you're redirected to ?
Charlus97 said:
Hm.. What's the exact URL of the mobile version of the site you're redirected to ?
Click to expand...
Click to collapse
The URL just stays at the engaget root URL (www.engadget.com).
I've observed something interesting though. When I visit this site in Chrome on Android:
http://www.whatismybrowser.com/
... it actually lists a very low screen resolution (376 x 557)
On that basis, I can see why sites (engadget, etc) show the mobile version. The question is why Chrome would report a lower screen resolution.
rhd-android said:
The URL just stays at the engaget root URL (www.engadget.com).
I've observed something interesting though. When I visit this site in Chrome on Android:
http://www.whatismybrowser.com/
... it actually lists a very low screen resolution (376 x 557)
On that basis, I can see why sites (engadget, etc) show the mobile version. The question is why Chrome would report a lower screen resolution.
Click to expand...
Click to collapse
Well, chrome doesn't seems to send the information itself. Maybe a JS script detect it. 'Gonna check that
---------- Post added at 09:17 PM ---------- Previous post was at 09:14 PM ----------
Yep, whatismybrowser.com detects screen size with a bit of JS
Not sure that we can change it even on a real desktop browser..
---------- Post added at 09:24 PM ---------- Previous post was at 09:17 PM ----------
So, of course, engadget.com too.
It detects screen resolution changes and adapt his style to the resolution. You can check it easily pen the page on a real desktop browser and resize the windows of the browser : same style as mobile version.
And there's nothing we can do about that :/
can't even do a *about:debug* in the addy bar anymore..
when pressing go, chrome hits the web, with the addy bar reading chrome://debug/ -
check this out -
Brandon Arnold 4 months ago
With mobile first design you don’t need a site switcher, because it’s the same site. There’s nothing on the desktop layout that you don’t see on your mobile, but its better formatted for its screen. The Chrome option you're mentioning is a legacy thing, thats taking actual mobile sites (non-responsive) and requesting to remove the M-dot from the domain. This is necessary because most mobile sites offered a limited amount of content that differed from the desktop. Even the Google Chrome Responsive website, when viewed in the chrome mobile browser has that option to switch grayed out.
With that said, you can try some javascript solutions that change the viewport, like this one*
http://https://github.com/chrismorata/Responsive-View-Full-Site
*Note: This has not been tested with F5
in response to:
I know it's been asked before in the forum but he thread is closed so I can't add anything. I'm aware of Foundation's mobile first principle but it's not mobile ONLY.
Is there an elegant way to give people an option to view a desktop version?
Both Android's default browser and Google Chrome mobile has options in the menu so I don't think it's a minor feature.
...it stalemates there, with an added;
Thanks for your replies. I'll checkout the javascript solution posted above.
It's just that some users really prefer seeing what they're used to on a desktop. I know it's the same content but the truth is some visitors just want to see what they're used to.
.. looks like for now, android chrome has gotten a gnome d.e. thingy effect..

Categories

Resources