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... )
Doesn't work well for "first n": Thumnail of only the first image is created, though it works for "last n". I tried to find out what's wrong, but it looked as if I'll have to change those regexps. So I gave up.
P.S: Script uses your namespace and script name, so it will over-ride your script if installed.
P.P.S: Means nothing that I uploaded it to userscripts.org. It's still your copyright. I just don't have webspace anywhere else :D
Reply
I might well incorporate something like that in a future version of the script, if you don't mind. Though I think I'll make the thumbnail appear in some sort of tooltip.
Reply
Reply
Reply
Reply
P.S: Although I was also hoping that you would remove dependence of the script on that icon on your server :D
Reply
I wanted to use data:URI for the icon, but I couldn't get it working with background images, and I felt using a non-embedded icon was the lesser of two evils (the other being having the icon as an
( ... )
Reply
( ... )
Reply
Yes, of course. My intention was to be able to update what I have with the latest version without having to merge it with my changes each time. But yeah, not everyone wants the same things as me always. I guess, sometimes, I do have to keep modify code :D
Reply
Reply
Leave a comment