第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

阻止 Ionic App iframe 中的瀏覽器選擇器 - 阻止打開外部瀏覽器

阻止 Ionic App iframe 中的瀏覽器選擇器 - 阻止打開外部瀏覽器

函數(shù)式編程 2023-09-18 10:30:53
我在離子應(yīng)用程序中使用 iframe 作為支付頁面。單擊 iframe 內(nèi)的提交 (Senden) 按鈕后:帶有瀏覽器的彈出窗口如下所示:如何防止出現(xiàn)此彈出窗口?targer="_self"我在iframe中使用。但它不起作用。
查看完整描述

1 回答

?
慕容708150

TA貢獻(xiàn)1831條經(jīng)驗(yàn) 獲得超4個(gè)贊

我已經(jīng)allow-popups allow-top-navigationsandbox的屬性中刪除了iframe。

修復(fù)前的 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>

現(xiàn)在 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>



查看完整回答
反對(duì) 回復(fù) 2023-09-18
  • 1 回答
  • 0 關(guān)注
  • 92 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)