1-Click Tampermonkey Install
To automate Colab interactions completely in the background without keeping console windows open, install our official Tampermonkey Userscript.
Automatic Clicker, Scroll Simulation, & Reconnection Active
Important System Boundary
This bypass solves Google Colab's 90-minute Idle Timeout. However, Google's 12-hour/24-hour absolute VM runtime limits cannot be bypassed. Use the Python Checkpoint script to save checkpoints directly to Google Drive.
Scripts & Snippets
Right-click on your Colab page, select "Inspect Element", open the "Console" tab, paste this code, and press Enter:
function KeepAlive() {
console.log("[ZipLoot] Simulating user activity...");
// Click the Connect Button if disconnected
const connectBtn = document.querySelector("colab-connect-button");
if (connectBtn) {
const innerBtn = connectBtn.shadowRoot ? connectBtn.shadowRoot.querySelector("#connect") : null;
if (innerBtn && innerBtn.textContent.includes("Reconnect")) {
innerBtn.click();
console.log("[ZipLoot] Clicked Reconnect Button.");
}
}
// Simulate scrolling viewport
const scroller = document.querySelector(".notebook-vertical-scroller");
if (scroller) {
scroller.scrollTop += 10;
setTimeout(() => { scroller.scrollTop -= 10; }, 200);
}
}
setInterval(KeepAlive, 60000);