Skip to content

Instantly share code, notes, and snippets.

@henkmeulekamp
Created November 10, 2016 14:00
Show Gist options
  • Save henkmeulekamp/2afdc84f7e9dc6edfe9cf4ba5be0858e to your computer and use it in GitHub Desktop.
Save henkmeulekamp/2afdc84f7e9dc6edfe9cf4ba5be0858e to your computer and use it in GitHub Desktop.
Uncheck all checkboxes in page by bookmark toolbar
// Uncheck all checkboxes in browser page (for example big confluence checkbox list used for releases)
// make new bookmarkbar button and copy in following javascript, name it uncheck or something
javascript:function iprl5() { var d=document,b=d.body; try{ if(!b) throw(0); var checkboxes = d.getElementsByTagName("LI"); for(var i=0, n=checkboxes.length;i<n;i++) { checkboxes[i].classList.remove("checked"); } }catch(e) {alert('Please wait until the page has loaded.'); } }iprl5() ;void(0)
@henkmeulekamp
Copy link
Author

image

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