Keep your Colab tabs alive with this nifty extension!
Colab Alive Extension
# Colab Alive - a chrome extension that keeps Colab notebooks alive.
Updated to work with the latest Colab as of March 2021. Thanks to https://github.com/sobuj53 for the update!
How it works — a few lines of JS code are injected if you have a colab tab open and running even if you navigate away from the page.
Code credit: https://medium.com/@shivamrawat_756/how-to-prevent-google-colab-from-disconnecting-717b88a128c0
Rate the extension on Chrome webstore if you like it :)
Read more
Updated to work with the latest Colab as of March 2021. Thanks to https://github.com/sobuj53 for the update!
How it works — a few lines of JS code are injected if you have a colab tab open and running even if you navigate away from the page.
Code credit: https://medium.com/@shivamrawat_756/how-to-prevent-google-colab-from-disconnecting-717b88a128c0
Rate the extension on Chrome webstore if you like it :)
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Colab Alive", "version": "1.3.1", "manifest_version": 2, "description": "Keep your Colab tabs alive with this nifty extension!", "homepage_url": "https://github.com/rtindru", "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "default_locale": "en", "background": { "scripts": [] }, "browser_action": { "default_icon": "icons/icon48.png", "default_popup": "html/popup.html" }, "content_scripts": [ { "matches": [ "https://colab.research.google.com/*" ], "js": [ "src/inject/inject.js" ] } ]}
Read more