Created
February 27, 2011 13:09
-
-
Save yoonchulkoh/846166 to your computer and use it in GitHub Desktop.
DecalGirlのサイトの一覧画像が小さいのでサイト下に大きな画像一覧を表示するブックマークレット。
一覧の表示件数はあまり多くするとハングアップするので注意。
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(){ | |
$("body").append("<a name=\"BigImageTop\"></a>"); | |
$('div.tileditem a img').each(function(index, element){ | |
$("body").append("<div style=\"float: left;\"><a href=\"" + $(this).attr('data-tipped') + "\"><img src=\""+ element.src.replace('100', '400') +"\" alt=\"" + element.t + "\" /><br /><p style=\"color: white\">" + element.alt + "</p></a></div>"); | |
}); | |
window.location.hash="BigImageTop"; | |
} | |
)(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment