You can use inappbrowser cordova plugin.

Here is example of code:

<script type="text/javascript" charset="utf-8">
                 // Wait for device API libraries to load
//
document.addEventListener("deviceready", onDeviceReady, false);

// device APIs are available
//
function onDeviceReady() {
    window.open('http://paypal.me/xxxzzzyyy/5', '_blank', 'location=yes');
}

</script>

You can also call link onclick and there is close button which makes you back to app.

Answer from proofzy on Stack Overflow
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › API › Window › open
Window: open() method - Web APIs | MDN
Note: open() calls cannot be used to register an attribution trigger. ... By default, window.open opens the page in a new tab. If popup is set to true, it requests that a minimal popup window be used. The UI features included in the popup window will be automatically decided by the browser, ...
Discussions

javascript - Window.open + Mobile Devices + Canvas == Not working? - Stack Overflow
It works great in the browser, but I've tested it on an iPad, Android(2.2) phone, and Android Tablet (3.2) and it will not open a new window. More on stackoverflow.com
🌐 stackoverflow.com
Open a new window (Popup) javascript in android - Stack Overflow
Communities for your favorite technologies. Explore all Collectives · Ask questions, find answers and collaborate at work with Stack Overflow for Teams More on stackoverflow.com
🌐 stackoverflow.com
android - webview don't display javascript windows.open() - Stack Overflow
I have a WebView in which i display web content which i have no control over. The content displays fine, but have links which spawn a popup window. The javascript function that does that looks like... More on stackoverflow.com
🌐 stackoverflow.com
how to open mobile chrome browser with javascript or html - Stack Overflow
I want to open chrome browser with ... using javascript or html · so example) if user click MysiteButton on mobile web app, then open android device mobile chrome browser with redirect url(on chrome). ... i found that I should use deeplink or intent but i don't know android mobile chromebrower's intent url or Scheme url. what is android mobile chromebrower's intent url. how to get. ( i used window.location.href ... More on stackoverflow.com
🌐 stackoverflow.com
🌐
Stack Overflow
stackoverflow.com › questions › 38176046 › javascript-window-open-does-not-work
android - javascript: window.open does not work? - Stack Overflow
August 4, 2016 - Maybe you redefined the open function elsewhere or window.open() isn't called directly by a user action. Specially in mobile browsers, you can't call this function from a timer or any asynchronous task. ... Sign up to request clarification or add additional context in comments. ... <a href="javascript:test()">test</a> function test(){ window.open("http://www.bippo.com",'_blank'); alert("wtf"); }
🌐
Stack Overflow
stackoverflow.com › questions › 13525885 › open-a-new-window-popup-javascript-in-android
Open a new window (Popup) javascript in android - Stack Overflow
$('#header-left-container').prepend(results.rows.item(i).LibelleTypeTravail +"" + "<br>" + "<a href='#null' onclick='open_infos()' > <img src='../js/images/add.png' > </a>" + "<textarea rows='6' cols='60' name='"+results.rows.item(i).LibelleTypeTravail+"'> </textarea><br><br>" ); function open_infos() { window.open('../prestation_html/list_rubrique.html','nom_de_ma_popup','menubar=no, scrollbars=no, top=100, left=100, width=300, height=200'); }
🌐
JavaScript.info
javascript.info › tutorial › frames and windows
Popups and window methods
For instance, a mobile browser usually ignores window.focus() completely. Also focusing doesn’t work when a popup opens in a separate tab rather than a new window. Still, there are some use cases when such calls do work and can be useful. ... When we open a popup, it might be a good idea to run newWindow.focus() on it.
🌐
Apache Cordova
cordova.apache.org › docs › en › 3.0.0 › cordova › inappbrowser › window.open.html
window.open - Apache Cordova
Android · BlackBerry · iOS · Windows Phone 7 and 8 · var ref = window.open('http://apache.org', '_blank', 'location=yes'); var ref2 = window.open(encodeURI('http://ja.m.wikipedia.org/wiki/ハングル'), '_blank', 'location=yes'); <!DOCTYPE html> <html> <head> <title>window.open Example</title> <script type="text/javascript" charset="utf-8" src="cordova.js"></script> <script type="text/javascript" charset="utf-8"> // Wait for device API libraries to load // document.addEventListener("deviceready", onDeviceReady, false); // device APIs are available // function onDeviceReady() { // external url var ref = window.open(encodeURI('http://apache.org'), '_blank', 'location=yes'); // relative document ref = window.open('next.html', '_self'); } </script> </head> <body> </body> </html>
Find elsewhere
🌐
W3Schools
w3schools.com › jsref › met_win_open.asp
Window open() Method
The open() method opens a new browser window, or a new tab, depending on your browser settings and the parameter values.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Web › API › Clients › openWindow
Clients: openWindow() method - Web APIs - MDN - Mozilla
November 30, 2025 - In Chrome for Android, the method may instead open the URL in an existing browsing context provided by a standalone web app previously added to the user's home screen. As of recently, this also works on Chrome for Windows.
🌐
Reddit
reddit.com › r/webdev › using (js) window.open and document.write in mobile browsers
r/webdev on Reddit: Using (JS) window.open and document.write in mobile browsers
June 29, 2020 -

I've been working on a passion project for a while. Here's the essentials of what I'm doing:

  1. Get user input with several fields.

  2. User checks one/more checkbox(es) to choose from several page templates.

  3. User clicks "Generate" button.

  4. Javascript determines which templates were selected, adds the user's input values to new HTML for each one.

  5. Javascript window.open to create a new browser tab for each selected template.

  6. Javascript document.write to write the completed HTML for each new tab, so user can save or print the results in that template format.

It works beautifully in desktop browsers (as long as the user allows pop-ups for the new tabs), but not so much in Safari or Chrome on iOS. Both of them successfully open the new tabs, but they either fail to write the new HTML to the documents, or they fail to display it. Either way, the result is new tabs with no content shown whatsoever. I haven't tested in Android browsers yet.

Is there something about iOS/mobile browsers that prevent new content from being written/displayed in new tabs? Or am I missing something else?

🌐
OutSystems
outsystems.com › forums › discussion › 44073 › mobile-open-link-in-device-default-browser
Mobile | Open link in device default browser | OutSystems
I need help with a mobile problem. We have a screen with html from ckeditor when we use the inner html to display the content correctly. However, when we have links, we want to open in default devices browsers, is it possible? At this point, the behavior we have is that it opens in the context ...
🌐
Stack Overflow
stackoverflow.com › questions › tagged › window.open
Newest 'window.open' Questions - Stack Overflow
javascript · dom · window.open · es6-proxy · Boann · 50.3k asked May 9, 2024 at 21:33 · 0 votes · 0 answers · 254 views · I have a a problem with a IOS webview mobile application. the stack is php and js. When the 'start' button is clicked, it redirects to the Rise 360 Articulate course in a new tab in Android and any ...
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › javascript-window-open-method
JavaScript window.open() Method - GeeksforGeeks
August 5, 2025 - The Javascript window.open() method is used to open a new tab or window with the specified URL and name.
🌐
Stack Overflow
stackoverflow.com › questions › 53142721 › open-android-app-from-browser-using-javascript
open android app from browser using javascript - Stack Overflow
I tried using jquery and javascript, as shown below, with no success. Any help? ... [Activity(Label = "@string/app_name", MainLauncher = true, WindowSoftInputMode = SoftInput.AdjustResize, Icon = "@mipmap/ic_logo_2", Theme = "@style/MyTheme.Splash")] [IntentFilter(new[] { Android.Content.Intent.ActionView,Android.Content.Intent.CategoryBrowsable,Android.Content.Intent.ActionDefault }, DataScheme = "myappschema", DataHost = "myapphost", DataPathPrefix = "/", Categories = new[] { Android.Content.Intent.CategoryDefault, Android.Content.Intent.CategoryBrowsable,Android.Content.Intent.ActionDefault })] public class MainActivity : AppCompatActivity, NavigationView.IOnNavigationItemSelectedListener {}
🌐
OutSystems
outsystems.com › forums › discussion › 36495 › open-url-in-browser-instead-of-mobile-app
Open URL in browser instead of mobile app | OutSystems
I am able to link a button to a URL, however it opens in the app. I would like the link to be opened in the phone's application browser instead, is there a way to achieve this · You can use this plugin to open either in-app or to redirect to the default browser
🌐
Appcelerator
jira.appcelerator.org › browse › TIMOB-10341
[TIMOB-10341] Android: Webview cannot open links with javascript:window.open call - Appcelerator JIRA
June 27, 2012 - On Android OS, a Webview can't open links using 'javascript:window.open' call · Run the sample code and click on the link. Link it's not opened. This works in iOS, and the link gets opened in the same webView. ------ is included by · TIMOB-11810 Ti API: Address common WebView deficiencies ·
🌐
Reddit
reddit.com › r/arcbrowser › is it possible to use the javascript function window.open() to open a smaller browser window like little arc?
r/ArcBrowser on Reddit: Is It possible to use the JavaScript function window.open() to open a smaller browser window like Little Arc?
September 3, 2023 -

Whenever I tried to use window.open(url, "_blank", "popup"); to open a little arc window or something similar, it always ended up creating a new full-screen tab instead.

I really wish there was a way to open a compact window using a JavaScript API.

🌐
Quora
quora.com › How-can-I-open-a-new-browser-window-with-JavaScript
How to open a new browser window with JavaScript - Quora
Because, what happens if your application is viewed on a tablet or mobile device (that don't have windows)? If people choose a browser that opens pages in tabs instead of windows, I think they will be more happy if you let them have it their way. ... It is a very interesting question! Processor clearly does not understand Javascript code.