Discussion about this post

User's avatar
Bossman Dlow's avatar

function ClickConnect() {

console.log('Clicked')

document

.querySelector('#top-toolbar > colab-connect-button')

.shadowRoot.querySelector('#connect')

.click()

}

setInterval(ClickConnect, 60000)//milliseconds

(Here is the Code Nishad, paste it into your Google colab) You can modify it to suit your preference.

Expand full comment
Bossman Dlow's avatar

Nice read. There's a script to ensure that Google colab does not shut after some time. Will share it so that anyone who wants to go an extra mile will incorporate in their resume project.

Expand full comment
1 more comment...

No posts