PhoneGap的禁用的WebView X框选项 [英] Phonegap disable x-frame-option in webview

查看:119
本文介绍了PhoneGap的禁用的WebView X框选项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个当我打开像facebook.com网站中的iframe在我的PhoneGap的应用程序不开一个问题,因为X框选项。

i have a problem that is when i open a site like facebook.com in iframe in my phonegap app don't open because x-frame-option.

我的问题是可以停用检查从科尔多瓦web视图中的Java code X框选项?

my question is can i disable checking x-frame-option from java code of cordova webview ?

,或使用其他的WebView在相同的活动之一,它上面并在下跌,改变的WebView的网址是什么?

or use another webview in the same activity one it top and on at down and change the url of webview ?

我不是PhoneGap的好,在Android中并不好,请帮我:D

i'm not good on phonegap and not good in android please help me :D

感谢所有

推荐答案

我发现了这个惊人的插件了很好的解决方案。

I found the great solution in this amazing plugin

https://github.com/Wizcorp/phonegap-plugin-wizViewManager

您可以添加的WebView到Android和iOS,并选择其定位这真是太棒了。

you can add a webview to android and ios and select it position it's really great.

这篇关于PhoneGap的禁用的WebView X框选项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆