Alrighty, kids. This is a really, really fugly hack to demonstrate appending randomized text to comments, but it works.
I started with a blank Blogger template, applied Browserfulsel's Custom Blogger Comments hack, and added the functions that I've been calling 'GFM' into the header.
I modified the function cFrmPost slightly. After it trims the postBody.value, the modified version calls a function called AppendText. AppendText returns a set of three randomized phrases. These get tacked onto the end of the original comment just before it's posted.
The result of this is that when you add a comment to any post on this blog, it appends a block of text detailing your secret plans to blow up the world, piss in the watering hole, or put big hickeys on all the fair damsels.
Tuesday, August 29, 2006
Subscribe to:
Posts (Atom)