Last active
July 5, 2023 11:41
-
-
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.
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
/* | |
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">↓ Download</a>'); | |
}); |
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
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
What about the high-res ones ?