You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/06/28 22:26:12 UTC

[GitHub] [cordova-android] jcesarmobile commented on issue #1341: `window.open` opens the url in webview instead of system browser.

jcesarmobile commented on issue #1341:
URL: https://github.com/apache/cordova-android/issues/1341#issuecomment-1169345012

   InAppBrowser plugin removed the overwrite of window.open long ago, you can reenable it by doing 
   ```
   document.addEventListener("deviceready", onDeviceReady, false);
   function onDeviceReady() {
       window.open = cordova.InAppBrowser.open;
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org