Open Safari from within Opera Mini on the iPhone

Posted by Ican Zilb on Stack Overflow See other posts from Stack Overflow or by Ican Zilb
Published on 2010-04-15T16:52:25Z Indexed on 2010/04/15 17:33 UTC
Read the original article Hit count: 253

Filed under:
|
|
|

Now that Opera Mini is becoming so popular in the App store I want to effectively warn my web site visitors that the rendition they see in Opera Mini is far from what I meant them to see and redirect them to my page in Mobile Safari, so they can enjoy HTML5 and CSS3.

I've been banging my head around that task all day long, but I can't seem to find a solution.

My hope lies in the custom URL schemes, but seems Opera Mini handles all schemes which usually Safari does. Would be great if there's a scheme like safari://www.domain.com which opens ONLY in Safari, so I can redirect the visitors to it.

Does anybody know a solution to that problem?

--edit

Just to make myself clear - browser detection is not the problem (I'm doing Javascript for 13 years now) the question is if there's a way to invoke the Safari app on the iPhone from within a web page which is being viewed in Opera Mini.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about mobilesafari