Page 1 of 1

Open URL in the default device browser and not pop up window

Posted: Thu Apr 02, 2015 3:30 am
by Hawk

I currently use the line below to open URL in new window:
prewindow.open('url', '_blank', 'location=yes');/pre
However, the window opens on Android, does not have the browser options (show website in desktop version .... etc.). It only has close and back forward buttons.

How can I open the URL in browser tab. If the default browser in google Chrome, and it's already open, I want to add new tab. If not open, then I want to launch the browser.

How can I achieve that?


Open URL in the default device browser and not pop up window

Posted: Thu Apr 02, 2015 6:20 am
by Egor Kotov6832188

Hello Hawk,

Unfortunately, window.open() function doesn't have such parameters,which allows to open in already opened browser, as a separate tab.


Open URL in the default device browser and not pop up window

Posted: Tue Apr 14, 2015 1:56 am
by Hawk

Hi Egor,

Any other method to open the actual browser, and not inAppBrowser?
It seems in AppBrowser has a lot of limitations, including we cannot use postMessage().

I used window.open('url', '_system', 'location=yes');

And it opens the device browser. But postMessage() not working yet.

Regards,


Open URL in the default device browser and not pop up window

Posted: Wed Apr 15, 2015 3:42 am
by Yurii Orishchuk

Hi Haytham,

Unfortunatly you have only two ways to open url in new window.

  1. InappBrowser.

  2. systemBrowser.

    And if you can control inAppBrowser, you will not be able to control system browser.

    You can interact with inapp browser in following way: http://blogs.telerik.com/appbuilder/p...

    Regards