Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

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

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?

Egor Kotov6832188
Posts: 0
Joined: Wed Nov 19, 2014 5:15 pm

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

Hello Hawk,

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

Hawk
Posts: 0
Joined: Mon Aug 04, 2014 11:23 am

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

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,

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

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

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

Return to “Issues”