Greasy Fork is available in English.

Colab Alive

Bypass limit 90 min google colab

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
// ==UserScript==
// @name         Colab Alive 
// @namespace    colab
// @version      0.2
// @description  Bypass limit 90 min google colab
// @author       Nguyen Khong
// @match        https://colab.research.google.com/drive/*
// @run-at       document-start
// ==/UserScript==
document.addEventListener('DOMContentLoaded', function() {
    function ClickConnect(){
        console.log("Working");
        try{
            document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click();
        }catch(e){}
    }
    setInterval(ClickConnect,60000);
});