到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