Never mind, the clever trick I was posting didn’t work.
Here are links to two zombie-identifying greasemonkey scripts:
http://boards.straightdope.com/sdmb/showpost.php?p=13438467&postcount=60
http://boards.straightdope.com/sdmb/showpost.php?p=13510747&postcount=1
Success! I am feeling this. Thanks again, Pol!
Running this script is preventing me from using the multiquote buttons. Nothing happens when I click on the "+ button unless I turn off the new script. I tried all the other scripts individually, but this one is the only one that affects it. Is anyone else having this problem?
Yes! I didn’t realize it was the script. I thought the Dope was just being screwy.
Multiquote, or kittens? Tough choice.
Broke my multiquote button too.
I have the same problem. For a quick fix, replace the code in your Greasemonkey script with the following code
// ==UserScript==
// @name SDMB inline images
// @namespace Polerius
// @description SDMB inline images
// @include http://boards.straightdope.com/sdmb/*
// ==/UserScript==
(function()
{
var allPosts = document.getElementsByClassName('alt1');
for (var i = 0; i < allPosts.length; i++)
{
if(allPosts*.innerHTML.match(/<a href=\"(http:\/\/[^\"]+)\.(jpg|JPG|png|PNG|gif|GIF)\" target=\"_blank\">([^<]+)<\/a>/))
{
allPosts*.innerHTML = allPosts*.innerHTML.replace(/<a href=\"(http:\/\/[^\"]+)\.(jpg|JPG|png|PNG|gif|GIF)\" target=\"_blank\">([^<]+)<\/a>/g, "<a href=\"$1.$2\" target=\"_blank\">$3</a><img src=\"$1.$2\">");
}
}
})();
The above code ensures that the multiquote button works on all posts that don’t have an inline image. So, for example, it will work on all posts in this thread.
Not a perfect solution, but until I find out a solution that also works for posts with inline images, the above should be good enough. The weird thing is that this seems to be a problem between Greasemonkey and the Multiquote button of vBulletin. This discussionreveals the following
In any case, if I find a more general solution I’ll post it.
Thank you.
OK, I found the solution to the multiquote problem. Replace the code in the OP with the following code. You can still see images inline, and multiquote works for all posts.
You can try it on the kittens thread
// ==UserScript==
// @name SDMB inline images
// @namespace Polerius
// @description SDMB inline images
// @include http://boards.straightdope.com/sdmb/*
// ==/UserScript==
(function()
{
var allPosts = document.getElementsByClassName('alt1');
for (var i = 0; i < allPosts.length; i++)
{
var kids = allPosts*.children;
for (var j=0; j<kids.length; j++)
{
if (kids[j].id.match(/^post_message_/))
{
kids[j].innerHTML = kids[j].innerHTML.replace(/<a href=\"(http:\/\/[^\"]+)\.(jpg|JPG|png|PNG|gif|GIF)\" target=\"_blank\">([^<]+)<\/a>/g, "<a href=\"$1.$2\" target=\"_blank\">$3</a><img src=\"$1.$2\">");
}
}
}
})();
Works great!
Hmm. I’d prefer not to see big inline images repeated, though.