Created
January 1, 2020 00:37
-
-
Save anphetamina/23783f70816a0171d77530fd0f2b6b00 to your computer and use it in GitHub Desktop.
Prevent Google Colab from disconnecting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ClickConnect(){ | |
console.log("Working"); | |
document.querySelector("colab-toolbar-button#connect").click() | |
} | |
setInterval(ClickConnect,60000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment