The following code was tested in Firefox 4 and Chrome 11 on Windows 7. It can probably be adapted easily to work for marking the read-only checkbox and for clearing checkboxes as well.
javascript: /* Locate the form. */ var flsForm = document.getElementById("editPage"); /* Find the form inputs. */ var inputs = document.getElementsByTagName("input"); var visibleInputs = new Array(); for(var i = 0; i < inputs.length; i++) { var titleAttr = inputs[i].attributes["title"]; if(titleAttr != null) { if(titleAttr.value == "Visible") { var visibleInput = inputs[i]; visibleInputs[visibleInputs.length] = visibleInput; } } } /* Mark all checkboxes. */ for(var i = 0; i < visibleInputs.length; i++) { var eName = visibleInputs[i].attributes["name"].value; var e = flsForm.elements[eName]; if(!e.checked) e.click(); }