qq郵件一鍵刪除代碼

到qq郵箱,收件箱,打開f12 粘貼代碼就可以了

async function  delmail(){
document.querySelector("#mainFrame").contentWindow.document.querySelector("#ckb_selectAll").click()
await delay(1000)
document.querySelector("#mainFrame").contentWindow.document.querySelector("#quick_completelydel").click()
    await delay(500)
document.querySelector("#QMconfirm_QMDialog_confirm").click()
    await delay(2000)
    delmail()
    
}

function delay(time){
    return new Promise(resolve=>{
        setTimeout(resolve,time)
    })
    
}
delmail()

原文鏈接:https://blog.csdn.net/ejunda/article/details/131259618

Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yourself. This could allow attackers to steal your identity or take control of your computer. Please type ‘a(chǎn)llow pasting’ below to allow pasting.

解決:
點(diǎn)擊 開發(fā)人員工具(DevTools) 右邊上方齒輪(設(shè)定)
Settings -> Experiments -> Filter 輸入 Past
-> 取消勾選 Show warning about Self-XSS when pasting
-> 【X】關(guān)閉
-> Reload DevTools (或關(guān)閉所有Chrome頁面重啟Chrome)

原文鏈接:https://blog.csdn.net/weixin_44816664/article/details/135213622

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。