Stop Colab From Disconnecting
Are you irritated by google colab automatically disconnecting after every 30mins ?
Open your Chrome DevTools and enter the following JavaScript snippet in your console:
function KeepClicking(){
console.log("Clicking");
document.querySelector("colab-connect-button").click()
}
setInterval(KeepClicking,60000)
This clicks the connect button every 60 seconds, there is no need to worry about colab being disconnected!



