Unsafe Checkboxes

By JoeSimmons Last update May 9, 2009 — Installed 525 times.

There are 2 previous versions of this script.

// ==UserScript==
// @name           Unsafe Checkboxes
// @namespace      http://userscripts.org/users/23652
// @description    Unchecks and enables all checkboxes
// @include        http://*
// @include        https://*
// @include        file://*
// @copyright      JoeSimmons
// @version        1.0.1
// @license        Creative Commons Attribution-Noncommercial 3.0 United States License
// ==/UserScript==

(function(){
var box, boxes = document.evaluate("//input[@type='checkbox']",document,null,6,null), bL=boxes.snapshotLength-1;
for(var i=bL; i>=0; i--) {
box = boxes.snapshotItem(i);
box.removeAttribute('checked');
box.removeAttribute('disabled');
}
})();