Skip to content

Instantly share code, notes, and snippets.

@hideki-a
Created April 14, 2012 22:32
Show Gist options
  • Save hideki-a/2388223 to your computer and use it in GitHub Desktop.
Save hideki-a/2388223 to your computer and use it in GitHub Desktop.
Bookmarklet Sample 1
javascript:(function(){var a=document.querySelectorAll("#foo .bar"),b,c=a.length,d;for(b=0;b<c;b+=1){d=a[b];d.style.border="3px solid red";}}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment