"const gatherButtonDom = document.getElementById('gatherButton') // 木材节点 const trapsButtonDom = document.getElementById('trapsButton') // 查看陷阱节点 setInterval(() => { gatherButtonDom.setAttribute('class', 'button') // 去掉disable class trapsButtonDom.setAttribute('class', 'button') gatherButtonDom.click() trapsButtonDom.click() },100) // 物质直接无限了"