I wrote a Greasemonkey script that will attempt to link references in comments to images in posts. So if someone has posted ten images, a comment like "I like the second to last picture" will contain a link back up to the ninth image. Like this:
(
Read more... )
Comments 53
This will work great with postsecret.
Reply
Reply
Reply
Reply
Reply
Reply
I fixed support for all three browsing schemes as the differences were minimal and easy to study, but I'm simply not familar enough with customized styles to know how to find comments and pictures-in-posts with any possible style. Will look into it when I find the time, which might be right away if the info is readily available.
Reply
I haven't looked at your script and I'm not too good with JavaScript anyway, so I have no idea if this is possible or not. But it's an idea.
Reply
XPaths are not as tricky as they may look, and I think anyone capable of making a template could probably figure it out using Google and the XPath Checker Firefox extension.
Reply
That first image is pretty cool. That 1st one. Yeah.
Reply
Reply
Not sure what you mean about "only after 10 images"? The script only kicks in when the original post contains two pictures or more, since there is no point in other cases. This community post only contains one image, but try http://malesca.livejournal.com/24357.html?thread=188197#t188197
Reply
And yes, I am using Opera 9 :)
Reply
Leave a comment