Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html Ionic应用程序iframe中的阻止浏览器选择器-阻止打开外部浏览器_Html_Ionic Framework_Ionic3 - Fatal编程技术网

Html Ionic应用程序iframe中的阻止浏览器选择器-阻止打开外部浏览器

Html Ionic应用程序iframe中的阻止浏览器选择器-阻止打开外部浏览器,html,ionic-framework,ionic3,Html,Ionic Framework,Ionic3,我在一个ionic应用程序中使用iframe进行支付页面。单击iframe内的submit(Senden)按钮后: 带有浏览器的弹出窗口如下所示: 如何防止出现此弹出窗口 我在iframe中使用targetr=“\u self”。但是它不起作用。我已经从iframe的沙盒属性中删除了允许弹出窗口允许顶部导航 iframe在修复之前: <iframe #iframe id="iframe" frameborder="0" [src]="url"

我在一个ionic应用程序中使用iframe进行支付页面。单击iframe内的submit(Senden)按钮后:

带有浏览器的弹出窗口如下所示:

如何防止出现此弹出窗口


我在iframe中使用
targetr=“\u self”
。但是它不起作用。

我已经从
iframe
沙盒
属性中删除了
允许弹出窗口允许顶部导航

iframe在修复之前:

<iframe #iframe id="iframe" 
        frameborder="0" 
        [src]="url"
        style="width:100%; border:none;" 
        sandbox="allow-popups allow-top-navigation allow-presentation allow-scripts allow-pointer-lock allow-same-origin allow-forms">
</iframe>


iframe现在:

<iframe #iframe id="iframe" 
        frameborder="0" 
        [src]="url"
        style="width:100%; border:none;" 
        sandbox="allow-presentation allow-scripts allow-pointer-lock allow-same-origin allow-forms">
</iframe>


还是一样的问题