Fail in "show desktop site" in safari - mobile

Fail in "show desktop site" in safari. I am developing a responsive site, but it is considered that users can select "show desktop site" on their mobile phones and in this case it should show the desktop view. However after several reloads on different iOS devices with safari, the "show desktop site" button stops working and continues to show the mobile version. I reviewed exhaustively and discovered that safari (and I suppose the rest of browsers) what they do is change the user agent to a non-mobile one when the user selects this option. However, after repeatedly reloading the "show desktop mode" button it stops changing the user agent, always being the user agent of ipad or iphone without making the change. Is there a known bug in safari that causes this? Anyone else has happened? Do you have any solution? Thank you

Related

Not able to access mobile site even after changing the user-agent string in pc browser

hrmantra
is the site i want to view mobile view of. For which i have also changed my user-agent string in my pc's mozilla browser. I need this to be done, please help
You can use the Responsive Design Mode tool in Firefox to pick a mobile phone configuration or create a new one with custom settings. You can access this tool, as reported on the provided links:
From the Firefox menu: select "Responsive Design Mode" from the Web
Developer submenu in the Firefox Menu (or Tools menu if you display
the menu bar or are on OS X).
Picking a mobile device will automatically set the correct screen resolution, user-agent string and device pixel ratio (DPR).

Silverlight copy dialog makes IE11 freeze

We are having problem with a Silverlight 5 app and IE11.
Suddenly, it's no longer possible to copy-and-paste from a Silverlight application to the clipboard, after upgrading to IE11.
When the Silverlight dialog that asks you for the right to access the clip-board appears, then IE11 freezes. This behaviour has also been verified on IE11 och two different Win 8.1 computers.
We have also tried to add the site to trusted sites, and 'Allow programatic access to clipboard" to Enabled. But it dosnt help.
Any suggestions?
Anyone knowing if this is something Microsoft is addressing?
/Erik
Ran into the same issue, running IE as administrator ended up clearing up the freezing issue.
From there you can then check the box to [remember my answer], click [yes] to allow clipboard access for this site, then restart IE (non-admin) and it won't freeze when accessing the clipboard.

Blackberry Z10 Mobile Menu links not working

I can't figure out what is causing this issue on the BlackBerry Z10 where the mobile menu that I created for disinherited.com won't properly function as links.
The menu items won't click through to their href's or show their dropdown menus(javascript).
It works well on a number of other browsers and devices. This is just one that won't work.
Anybody have any suggestions as to what browser compatibility issues I might be missing?
The "About Us" link doesn't do anything for me (even on Desktop browsers).
I would guess that there might be some CSS (a layer maybe) that is interfering with the click/action event. I would suggest connecting remote web inspector to see what exactly is going on.
Did you know that BlackBerry 10 has some of the best remote web debugging capabilities?
Plug your device in via USB
Enable Settings -> Developer Mode
Open http://disinherited.com in the BlackBerry browser
from your desktop browser, open http://169.254.0.1:1337
You are connected to the live content, running on the BlackBerry, from your desktop browser. From there, you can inspect, debug, profile what your website is doing.

What criteria does Facebook use to prevent displaying the send dialog on a mobile device?

With respect to webpages and webapps using Facebook's Javascript and Server side integration...
Facebook documentation notes that the send dialog is not supported on mobile devices, but they don't indicate how they make the determination that the dialog will not be shown or how we can find out.
This makes it difficult to display some alternate functionality in the right cases. For example the iphone is out, but the ipad will display the iframe version. The Nexus 7 with Chrome won't do the popup, but it doesn't have "mobile" in the user agent.
Does anybody know the criteria? ie. Regex on the user agent, or some certain feature detection?
Right now I am using browser sniffing :-(
function isMobile(string) {
return /mobile|android/i.test(string || navigator.userAgent);
}
Which, for instance, doesn't account for the fact that iPad Safari will display this dialog as an iFrame (but not the popup).
Thanks.

Any local browsers which pretend to be mobile?

I'm currently developing a mobile site and I'm finding it very clunky to work with a browser through an emulator.
Is there any way I can make a browser (which runs on OSX) "pretend" it is a mobile browser so that I can get mobile html back from the site I'm guessing things like inspect in chrome or firebug on firefox?
NOTE: I really wish I could have accepted all of the answers.
I think you can change the User-Agent of the browser and then, the server will send you, if a mobile version is available - this one!
Like stylesheets etc.
There is a nice addon for firefox called "User Agent Switcher"
For Safari;
In the normal Mac OS X Safari, go to Preferences/Advanced and check "Show develop menu in menu bar". A menu called "Develop" will show up with a sub menu called "User Agent". In that you can choose to send user agent strings for - for example - iPhone and iPad.
The develop menu also has a "Web inspector" which while not as powerful as FireBug is pretty good for inspecting the results.

Resources