This repository contains a JavaScript script aimed at preventing session timeouts during long-running processes. The script automates the periodic clicking of the "Connect" button to maintain an active session.
- timeout_prevention_script.js: JavaScript code to prevent Colab session timeouts by simulating user interaction.
- Open the Colab notebook (
notebook.ipynb
) using Google Colab. - Follow the instructions within the notebook to run the code and conduct the analysis.
- The JavaScript script (
timeout_prevention_script.js
) can be executed in the browser console of the Colab notebook. - Open the Colab notebook, press
Ctrl+Shift+J
(Windows/Linux) orCmd+Opt+J
(Mac) to open the browser console, and paste the script to prevent session timeouts.
If you'd like to contribute to this project, feel free to submit pull requests or open issues. Contributions are always welcome!
This project is licensed under the MIT License.