Skip to content

Instantly share code, notes, and snippets.

@steven2358
Last active May 10, 2023 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save steven2358/0c8d53e7a1b16c0a805d605fefd2b5e5 to your computer and use it in GitHub Desktop.
Save steven2358/0c8d53e7a1b16c0a805d605fefd2b5e5 to your computer and use it in GitHub Desktop.
ChatGPT sidebar visibility toggle bookmarklet
javascript:(function(){const element = document.querySelector('div.dark.flex-shrink-0.overflow-x-hidden.bg-gray-900');if (element) {const currentDisplay = window.getComputedStyle(element).getPropertyValue('display');;element.style.display = currentDisplay === 'none' ? 'flex' : 'none';}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment