(no subject)

Mar 19, 2006 19:17

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:



About Greasemonkey: http://en.wikipedia.org/wiki/Greasemonkey
Install Greasemonkey: http://greasemonkey.mozdev.org/
Script info: http://www.userscripts.org/scripts/show/3567
Actual script: http://www.userscripts.org/scripts/source/3567.user.js

It's a bit slow, but I'll optimize when I figure out how. :)

EDIT: I figured out how. It's no longer slow at all. Also made some small improvements. If you installed it before this edit, it's probably easiest to reinstall the script: Tools > Manage User Scripts, select the script, "Uninstall", then install from the link above.



These are some images to test the script. There is a comment below with references to them.











Previous post Next post
Up