What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-11 15:15:08
document.querySelector("body > ntp-app").shadowRoot.querySelector("#mostVisited").shadowRoot.querySelector("#container > a:nth-child(3) > div.tile-icon > img")
document.querySelector("body > ntp-app").shadowRoot.querySelector("#mostVisited").shadowRoot.querySelector("#container > a:nth-child(3) > div.tile-icon > img") Add solution -
Go 2022-02-22 20:35:03
how to stop google colab from disconnecting
function ConnectButton(){ console.log("Connect pushed"); document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click() } setInterval(ConnectButton,60000); Add solution -
Other 2021-11-04 08:40:10
how to run colab in background
# ctrl + shift + i # then in the console tab write this: (setInterval(function(){ console.log("Connect pushed"); document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click(); }... Add solution -
Go 2021-10-05 06:01:03
how-to-prevent-google-colab-from-disconnecting
#Set a javascript interval to click on the connect button every 60 seconds. #Open developer-settings (in your web-browser) with Ctrl+Shift+I then click #on console tab and type this on the console prompt. #(for mac press Option+Command+I) function Con... Add solution -
Javascript 2021-08-28 03:43:01
javascript colab connect
function ConnectButton(){ console.log("Connect pushed"); document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click() } setInterval(ConnectButton,60000); Add solution