Created
September 7, 2022 15:46
-
-
Save kirilkirkov/60ff6d27b2a2da03d42cde85281f6330 to your computer and use it in GitHub Desktop.
Instagram in-app browser (WebView) errors with window.opener or window popups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Did you know that instagram webview (when click some link from private message or post) , the window.opener is null? | |
This is privacy reason.. so if you wants to close window popups, should use history.back(); instead of window.close();, | |
also the postMessage will not works with window.opener.postMessage .... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment