Does anyone know of a Firefox extension or Linux app that allows you to check or uncheck all checkboxes on a web page?
October 21, 2004 6:56 AM
Subscribe
Firefox (un)check all extension: Does anyone know if there exists a firefox extension or linux app that allows you to check or uncheck all checkboxes on a given web page? {mi}
I use a ticket tracker system with lots of legitimate tickets and lots of spam (I have no control over filtering for this system). Sometimes I pull up a page that has, say, 50 legitimate tickets and 25 pieces of spam, necessitating 50 mouse clicks to clean out the spam and retain the tickets, and it would be nice to be able to come out ahead of the ratio every now and then. : >
In the event that such a thing does not exist, I have intermediate-level Perl experience . . . would this translate well to trying to do this in Python (something I probably need to learn, anyway) as a learner project?
posted by littlegreenlights to computers & internet (3 comments total)
var cboxes = document.getElementsByTagName('input');
for (var i=0; i < document.cboxes.length; i++) {
var cbox = document.cboxes[i];
if (cbox.type =='checkbox') {cbox.checked=true}
}
posted by ook at 7:19 AM on October 21, 2004