Skip to content

Instantly share code, notes, and snippets.

@jasoncodes
Last active August 14, 2023 03:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasoncodes/6bbe51abde00646893b06bc0c8cdea22 to your computer and use it in GitHub Desktop.
Save jasoncodes/6bbe51abde00646893b06bc0c8cdea22 to your computer and use it in GitHub Desktop.
Notion uncheck all bookmarklet
A simple bookmarklet to uncheck all the checkboxes (including nested checkboxes) in the current Notion document.
Minified using http://chriszarate.github.io/bookmarkleter/.
javascript:document.querySelectorAll(%22.notion-frame%20.notion-scroller%20input[type=checkbox]:checked%22).forEach(function(a){a.click()});
document.querySelectorAll('.notion-frame .notion-scroller input[type=checkbox]:checked').forEach(function(element) {
element.click();
});
@hariombalhara
Copy link

hariombalhara commented Sep 9, 2021

For people landing here, Notion supports non-nested use case https://twitter.com/notionhq/status/1167209517618040834?lang=en
But for nested checkbox use-case this bookmarklet would be useful

@jasoncodes
Copy link
Author

Notion’s built in multi-check/uncheck support does not supported nested checkboxes:

@hariombalhara
Copy link

Thanks for letting me know. I actually stumbled upon this gist for a non-nested usecase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment