Revert "new workaround for inAppBrowser"

This reverts commit 36bd31024844b0018c09681746645aeb5704a6a0.