let time = null
time = setInterval(() => {
if (new Date('2019-04-25 10:00:00').getTime() <= new Date().getTime()) {
clearInterval(time)
if (document.querySelectorAll('.item-holder')[0].querySelector('.td-inner').children[0].innerText === '勾选商品') {
document.querySelectorAll('.J_CheckBoxItem')[0].click()
document.querySelectorAll('.J_CheckBoxItem')[1].click()
setTimeout(() => {
document.querySelector('.submit-btn').click()
}, 500)
}
}else{
window.location.reload()
}
}, 500)
版权声明:本文为winnie__wei原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。