You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/01/29 16:06:52 UTC

[GitHub] [cordova-plugin-inappbrowser] ibrahimAboelsuod edited a comment on issue #315: "delete window.open" does not work in Chrome/69

ibrahimAboelsuod edited a comment on issue #315: "delete window.open" does not work in Chrome/69
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/315#issuecomment-579828429
 
 
   > @goffioul Maybe you can put this on top of your app. Since I am fine with `_system` I did not try it myself.
   > 
   > ```
   > let originalOpen = window.open;
   > document.addEventListener('deviceready', () => {
   >   // cordova should be ready by now, restore window.open
   >  window.open = originalOpen;
   > });
   > ```
   
   I can confirm this fix. I placed it at the bottom of the body tag in `index.html` file.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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