From 6e2fed180c986fc6e01766b0af751b569d20f103 Mon Sep 17 00:00:00 2001 From: Sven Strickroth Date: Tue, 14 Apr 2020 16:52:56 +0200 Subject: [PATCH] breaking: [GH-419] Drop special handling for Ripple emulator to allow apps using inappbrowser to be hosted in a cross-origin iframe Signed-off-by: Sven Strickroth --- www/inappbrowser.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/www/inappbrowser.js b/www/inappbrowser.js index 9ef96184f..f93626cbc 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');