Colab防止掉线

function ClickConnect() {
  console.log('Working')
  document
    .querySelector('#top-toolbar > colab-connect-button')
    .shadowRoot.querySelector('#connect')
    .click()
}

setInterval(ClickConnect, 60000)
posted @ 2020-12-09 20:21  l_____py  阅读(367)  评论(0编辑  收藏  举报