DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Eric has posted 1 posts at DZone. View Full User Profile

Gmail - Select All Spam

07.31.2007
| 3369 views |
  • submit to reddit
        // Standard HTML GMail does not have a select all option on the Spam page(s). Paste this into firebug console to select all...

for (i = 0; i < document.f.t.length; i++) {document.f.t[i].checked = true;}

or

for each(s in document.f.t){s.checked=true;}