Page 1 of 1

HTML link to open Safari (or other local browser)

Posted: Sun Nov 09, 2014 1:02 pm
by DaveVockell

I am placing some HTML in a page. I want to edit the HTML before I place it in the block so that it opens SAFARI when you click it. This isn't "open a page" from an on-click or from javascript -- this is HTML in an HTML block.


HTML link to open Safari (or other local browser)

Posted: Sun Nov 09, 2014 2:23 pm
by obullei

Hello!

Please specify do you have the same issue in other browser?


HTML link to open Safari (or other local browser)

Posted: Tue Nov 11, 2014 1:19 am
by DaveVockell

I am on an iphone, so I only have Safari. I want it to open Safari, not just spawn another window in the app.


HTML link to open Safari (or other local browser)

Posted: Tue Nov 11, 2014 3:56 am
by Yurii Orishchuk

Hi Dave,

Please try this code:

pre

window.open('http://www.yourdamain.com', '_system');

/pre

Aslo you can read more details here:
http://stackoverflow.com/questions/17...

Regards.