// DeviantART - DeSelector v0.1
// Made By Luke Stevenson {http://lucanos.deviantart.com/}
// Distributed and Maintained via GMVC
// Last updated: 19 October 2007
//
//   Fixes a glitch sometimes affecting DeviantART where checkboxes are
// left selected when the page is reloaded.
//
// ==UserScript==
// @name              DeviantART - DeSelector
// @namespace         http://gmvc.lucanos.com/
// @description       (v0.1) Deselects all checkboxes in the DevWatch pages when reloaded.
// @include           http://my.deviantart.com/devwatch/*
// ==/UserScript==

for ( var a=0 ; a<document.forms.length ; a++ ) {
  if ( document.forms[a].action=="http://my.deviantart.com/devwatch/update" ) {
    for ( var b=0 ; b<document.forms[a].elements.length ; b++ ) {
      if ( document.forms[a].elements[b].type=='checkbox' ) {
        document.forms[a].elements[b].selected=false;
      }
    }
  }
}