Created
June 16, 2016 18:39
-
-
Save mooyoul/7326d92da19ea30f8d522e6ae4c3e8c2 to your computer and use it in GitHub Desktop.
kakaotalk-ios-webview-hack
This file contains hidden or 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
// This is a workaround for XHR deny issue with KakaoTalk Webview. | |
// It is really hacky way. Not recommended. | |
if (location.protocol !== 'https:') { | |
location.href = 'https://your.website.com'; // Specify https scheme! | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment