Guest User

Untitled

a guest
Jul 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. ## bookmarklet : Check all & Select "Mark as read" (Gmail in basic HTML view)
  2.  
  3.  
  4. ~~~ JavaScript
  5. javascript:(function(){
  6. a=document.body.getElementsByTagName("input");
  7. for(var i=0; i < a.length; i++) { if(a[i].attributes["name"].nodeValue != "t") continue; a[i].checked = true;}
  8. document.getElementsByName("tact")[0].value = "rd";
  9. })();
  10. ~~~
Add Comment
Please, Sign In to add comment