You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2020/04/14 17:22:18 UTC

[cordova-plugin-inappbrowser] branch master updated: Allow App using inappbrowser to be hosted in a cross-origin ifra… (#669)

This is an automated email from the ASF dual-hosted git repository.

timbru31 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-inappbrowser.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b6b229  Allow App using inappbrowser to be hosted in a cross-origin ifra… (#669)
9b6b229 is described below

commit 9b6b2295095c52b37e2824b0b0c5e17d68d5f752
Author: csware <em...@cs-ware.de>
AuthorDate: Tue Apr 14 19:22:08 2020 +0200

    Allow App using inappbrowser to be hosted in a cross-origin ifra… (#669)
    
    Signed-off-by: Sven Strickroth <em...@cs-ware.de>
---
 www/inappbrowser.js | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/www/inappbrowser.js b/www/inappbrowser.js
index 9ef9618..f93626c 100644
--- a/www/inappbrowser.js
+++ b/www/inappbrowser.js
@@ -20,12 +20,6 @@
 */
 
 (function () {
-    // special patch to correctly work on Ripple emulator (CB-9760)
-    if (window.parent && !!window.parent.ripple) { // https://gist.github.com/triceam/4658021
-        module.exports = window.open.bind(window); // fallback to default window.open behaviour
-        return;
-    }
-
     var exec = require('cordova/exec');
     var channel = require('cordova/channel');
     var modulemapper = require('cordova/modulemapper');


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