Skip to content

satyajitghana/colab-keepalive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Colab Alive - Chrome Extension

logo


Helps in automatically reconnecting the colab session if disconnected, also prevents the idle timeout by clicking the colab-connect-button

How to use this extension

  1. clone this repository: https://github.com/satyajitghana/colab-keepalive

  2. go to chrome://extensions/

  3. click on Load unpacked and select this folder

  4. that's it ! go to https://colab.research.google.com/ , it should automatically work, open Developer Tools to see logs

code that does this magic ✨

function ClickConnect() {
    console.log('%c [colab-alive]: connect click - start', 'color:DodgerBlue');
    document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click();
    console.log('%c [colab-alive]: connect click - end', 'color: DodgerBlue');
}

made with 💖 by shadowleaf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published