Skip to content

Instantly share code, notes, and snippets.

@mreidsma
Created June 1, 2012 19:48
Show Gist options
  • Save mreidsma/2854736 to your computer and use it in GitHub Desktop.
Save mreidsma/2854736 to your computer and use it in GitHub Desktop.
Bookmarklet URL for db click hack
javascript:j('#other li').click(function(){var selected=j(this).text();selected=j.trim(selected);var codeclass=j(this).attr("class");var newlink='<li class="'+codeclass+'">'+selected+'</li>';j('#mpopular').append(newlink);});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment