snippets.zerodogg.org

Toggle external CSS

A simple snippet/bookmarklet that will toggle external CSS on or off for the current page.

Bookmarklet: Toggle CSS

for (const css of document.querySelectorAll("link")) {
  css.disabled = !!!window.__cssBookmarklet;
}
window.__cssBookmarklet = !!!window.__cssBookmarklet;