Skip to content

Instantly share code, notes, and snippets.

@dcpesses
Last active July 5, 2023 11:41
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcpesses/9652778 to your computer and use it in GitHub Desktop.
Save dcpesses/9652778 to your computer and use it in GitHub Desktop.
Re-enable right-click & add Download links to thumbnail pages on PhotoReflect pages.
/*
Copy the single line of code below, then add it as a new bookmark to your web browser of choice:
javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://gist.githubusercontent.com/dcpesses/9652778/raw';})();
Then browse to the thumbnails of the album, click on that bookmark, and...enjoy!
*/
document.oncontextmenu=document.body.oncontextmenu = new Function("return true");
$('.thumbgrid').each(function(i){
var id = $(this).closest('a').attr('href').match(new RegExp("i=(.+?)&", "i")).shift();
$(this).closest('td').append('<a href="/web/bin/prpv.dll?cmd=photo&s=-2&'+id+'p=" class="dl">&darr; Download</a>');
});
@fzakaria
Copy link

fzakaria commented Dec 9, 2015

What about the high-res ones ?

@fzakaria
Copy link

I wrote a blog post about doing this http://blog.fzakaria.com/2016/01/11/photoreflect-unwatermarked-image/
I'd love to find out how to do it for High Quality images though

@jeremy217
Copy link

doesn't work anymore, any work around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment