Categories
Uncategorized

Comment Spam

Finally the spammers have found me. I’ve got about 30 comment spams in my moderation queue this morning. Good job I enabled the moderation in the first place…

Anyway, to help with sorting it all out, I wrote a <a href="javascript:(function(){var _1=document.getElementById('comments').getElementsByTagName('input');for(var i=0;idelete comment spam bookmarklet. If you run it on the wordpress comment moderation page, then you will set the action for every comment to be delete by default. If you get almost no comments, like me, then this is probably a worthwhile default action.

I know it’s not a perfect bookmarklet. It will stick an error into your JavaScript console when you run it on any other page. But it works well enough for now.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s