Created
November 10, 2016 14:00
-
-
Save henkmeulekamp/2afdc84f7e9dc6edfe9cf4ba5be0858e to your computer and use it in GitHub Desktop.
Uncheck all checkboxes in page by bookmark toolbar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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) |
Author
henkmeulekamp
commented
Nov 10, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment