Skip to content

Instantly share code, notes, and snippets.

@ayhaadam
Last active December 23, 2015 01:09
Show Gist options
  • Save ayhaadam/6558977 to your computer and use it in GitHub Desktop.
Save ayhaadam/6558977 to your computer and use it in GitHub Desktop.
Dappei bookmarklet
javascript:var photo_url = $(".photo img").prop('src'); window.open(photo_url);
javascript:var photo_url = $(".photo img").prop('src');photo_ori = photo_url.replace('large_','');photo_large = photo_url;photo_medium = photo_url.replace('large','medium');photo_thumb = photo_url.replace('large','thumb');$('div').remove('#header').remove('#container').remove('#footer');$("body").prepend($("<img>", { src: photo_ori })).prepend($("<img>", { src: photo_large })).prepend($("<img>", { src: photo_medium })).prepend($("<img>", { src: photo_thumb }));
javascript:var photo_url = $(".photo img").prop('src');photo_url = photo_url.replace('large_',''); window.open(photo_url);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment