Skip to content

Instantly share code, notes, and snippets.

@optionsx
Last active January 29, 2023 19:42
Show Gist options
  • Save optionsx/52292aa31c44547101a9ad7da4963dca to your computer and use it in GitHub Desktop.
Save optionsx/52292aa31c44547101a9ad7da4963dca to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name chatgptisdown
// @namespace http://tampermonkey.net/
// @version 0.3
// @description access chatgpt while it's down, shêr#0196
// @updateURL https://pastebin.com/raw/sdCemSzy
// @downloadURL https://pastebin.com/raw/sdCemSzy
// @author optionsx
// @match https://chat.openai.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=openai.com
// @grant none
// @license MIT
// ==/UserScript==
const timedLoop = setInterval(() => {
if (document.getElementsByClassName("text-3xl font-medium").length > 0) location.reload();
else clearInterval(timedLoop);
}, 300);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment