What kinds of browser redirects are supported in Android? - browser

I recently developed a web app which used the JavaScript window.location property to redirect the browser. This worked fine on PC browsers, but did not function at all on both of the Android browsers I tried it on.
The unsupported browsers were: Browser (built-in) and Dolphin Browser.
I discovered that location.replace() does work on these browsers, as well as on the PC.
Is this Android limitation documented anywhere, and what other redirect methods are available on the Android platform?

PHP redirects seem to work fine in the Dolphin browser HD.

For raw JavaScript redirect, location.replace() works.
The more robust way of redirecting would be to use JQuery, as this should handle platform-specific cases under the covers.

Related

FIDO U2F tokens Web Browsers compatibilty

I'm trying to integrate U2F Authentication in GWT project and I need to know if is this solution compatible with all new web browsers (Firefox, Internet Explorer, Safari...)? Normally in Google Chrome I've to install a plugin that's called "FIDO U2F (Universal 2nd Factor) extension".
Is the same for others browsers?
Is there any way to work without a plugin for new web browser?
Do other browsers support U2F? currently not.
Is there any way to work without a plugin for a new web browser? No, that's the whole point of U2F: a phishing attack is made impossible thanks to direct communication with the browser.
Extra information
You had to install a plugin in Chrome in the past, currently (I think starting from version 40), this is not required anymore: U2F capability is built in from that version on in Chrome. As to which other browsers support U2F: currently none. Firefox supports U2F via the U2F Support Add-on, and is working on supporting U2F natively.
Microsoft reportedly will include FIDO support in Windows 10. It might be possible that browsers will rely on the OS-U2F-check then, and do not (need to) include FIDO support directly anymore. However, this is speculation only for the moment.
An easy compatibility check I'd like to carry out is to use the Yubikey's demo site.. It will be reported immediately when your browser does not support U2F (try opening the demosite in Firefox and see what happens).
Yes, it is an old thread, but let's make an update:
2016 September update : FIDO U2F browser support
Chrome for Windows, OS X and Linux: Yes (Built-in)
Chrome for Android [for FIDO U2F over NFC and over BLE devices]: Yes (You still have to download the official Google Authenticator App but this requirement will disappear in the future)
Firefox: Devs are now officially working on it. Mozilla Foundation joined the FIDO Alliance. For now, while waiting for the official built-in support, you can use this great addon: https://addons.mozilla.org/en-US/firefox/addon/u2f-support-add-on/ (It won't work on websites that do not know Firefox can be used too...)
Safari, Internet Explorer and Edge: No U2F support is even planned, but who cares anyway... :)
Just for the record: Opera Public Beta (v41) has U2F built-in support too. The next stable release should support FIDO U2F too.
Google Chrome: out-the-box since Chrome 41 (no extension required) https://support.google.com/accounts/answer/6103523?hl=en
Internet Explorer: "in development" https://dev.modern.ie/platform/status/fido20webapis/
Mozilla Firefox: popular feature request https://bugzilla.mozilla.org/show_bug.cgi?id=1065729
It isn't specifically true that browsers can't add compatibility via extensions as per Michael's post, the issue isn't that it's secure because the browser "directly communicates" - USB can be sniffed so U2F isn't secure in that sense, which is precisely why it has defences against replay attacks.
The issue relates to browsers not generally having support internally to directly talk to USB devices - or more usefully for extensions to do that (but that would throw up other unrelated security concerns). It's perfectly plausible for a piece of software to act as an intermediary for an extension and pass on authentication events to a FIDO device; I've investigated the possibility and it absolutely would work without harming the security of U2F itself - native browser support would be preferable though.

Cross Browser Support for Coded UI

I have Recorded Coded UI Test With Silverlight 5 Application With IE Browser. but when i am trying to Run it for Chrome it's not working.
For non silverlight application it is working fine.
I have installed Cross Browser plugin for chrome.
As per my comment, Cross browser testing is only for web applications. Silverlight testing is not supported in Chrome or Firefox.
Since Silverlight is a browser plug in, if something works in Silverlight/IE then you can rely on it working in FF and Chrome. If it fails then it's a problem with Silverlight, not your application.

Opening app from different android Browser

Till now I have been using the default browser with my Samsung Galaxy S2. When Browsing if I found and clicked on a link that was from Wikipedia or IMDB for instance it would ask and give the choice if I wanted to open them in the "Internet" Browser or the installed IMDB/Wikipedia App. I have since tried other Browser Apps. (Firefox, Dolphin, Skyfire, Opera etc) and none of these appear to pop up with the option to open them in an app. They go straight to the website. The only app I have found that does offer the choice is Chrome, but it seems to crash a bit too often. Am just wondering if I am missing something in the the other browsers I have looked at. I like Dolphin and Firefox, but would like to see them offer the option to open sites in installed apps. Is there options to get them to do this? Thanks!
It is because those browsers (Firefox, Dolphin, Skyfire, Opera) you have tested at the end of 2012 don't support or have problems with calling external intents.
Here is the issue about implementation that feature on Firefox.
Related information - how to use intent filters to open external Android app from browser.

change browser for sencha touch 2

We are developing an app with Sencha Touch 2 and PhoneGap 2.0. We also want to use WebGL.
But neither the android browser nor safari mobile supports it.
However Opera Mobile 12 supports WebGL. Is it possible to start the sencha app with Opera Mobile?
Firstly, PhoneGap overrides the capability of Native Android browser. We cannot use the Opera Mobile browser features for developing the PhoneGap Applications.
Secondly, Sencha Touch is not supported by Opera Mobile. It runs only on WebKit browsers. I am not sure about Mobile chrome. But any other browser except android default browser will not able to run all features of sencha.
Hope you got your answer.
You can try RhoElements v1 browser. It also only supports WebKit as far as I know.
https://docs.symbol.com/ReleaseNotes/RE_0100001000_ReleaseNotes.html
http://www.spritle.com/blogs/2012/01/04/rhodes-3-3-x-supports-motorola-rhoelements-and-android-et1/

Mobile version Google Chrome on PC (for developers)

Could you suggest how best to test the site for Google Chrome mobile version...? I know that Opera Mobile and Mozilla Firefox are emulators for the desktop, but I have not seen this for Chrome. Maybe I'm just looking bad?
for example:
Mozilla Firefox - http://www.mozilla.org/en-US/mobile/ (fennec)
Opera - http://www.opera.com/developer/tools/mobile/
Pretty old question but in case someone else hit it in future;
Best solution i found is this;
https://developers.google.com/chrome-developer-tools/docs/remote-debugging?hl=tr
And the best part is, its working!
PS: If "adv devices" command doesn't work make sure that you have the USB driver for your phone is installed on your PC.
Google Chrome Canary can be a better replacement for this purpose. I use Chrome Canary for testing purpose.
https://developers.google.com/chrome-developer-tools/docs/mobile-emulation
It's easy to browse mobile version of nay site using browsing agent switcher, there are browser agent switcher for all browsers, more read here about browsing mobile version of site on desktop PC.

Resources