Html Ionic应用程序iframe中的阻止浏览器选择器-阻止打开外部浏览器
我在一个ionic应用程序中使用iframe进行支付页面。单击iframe内的submit(Senden)按钮后: 带有浏览器的弹出窗口如下所示: 如何防止出现此弹出窗口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"
我在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>
还是一样的问题