Created
October 24, 2014 05:33
-
-
Save suissa/9cf65b07ba514ba4934e to your computer and use it in GitHub Desktop.
beeg bookmarklet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:function createLinks(){$(document).ready(function(){$(".hotblock table tbody tr").each(function(e,c){var a=$(c).children("td");$(a).each(function(c,a){var b=$(a).children("img"),d=/\d{7}/.exec(b.attr("data-original"));null!=d&&(b.attr("onClick","javascript:window.open('http://beeg.com/"+d+"')"),b.attr("style","cursor:pointer"))})})})}createLinks();void(0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment