Skip to content

Instantly share code, notes, and snippets.

@davideast
Created November 14, 2025 16:04
Show Gist options
  • Select an option

  • Save davideast/e0bdcb664a418721c34b6a54ae7f9c41 to your computer and use it in GitHub Desktop.

Select an option

Save davideast/e0bdcb664a418721c34b6a54ae7f9c41 to your computer and use it in GitHub Desktop.
Dark Mode Bookmarklet
javascript:(function(){const id='gemini-dark-mode-script';if(document.getElementById(id)){document.getElementById(id).remove();}else{const css='html{filter:invert(1) hue-rotate(180deg);background:#fdfdfd}img,video,iframe,picture{filter:invert(1) hue-rotate(180deg)}';const style=document.createElement('style');style.id=id;style.textContent=css;document.head.appendChild(style);}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment