Saturday, May 17, 2008

Adding Preview to ZDNet

I participate quite a bit on ZDNet (time permitting, and assuming the current crop of bloggers there have anything worth commenting on). However, posting on the Talkback forums stinks, mainly because of the lack of a Preview option.

Firefox and Greasemonkey to the rescue! Download and install them from the two links if you don't already have them. Then, if you have Greasemonkey installed, clicking on this link will cause the script to be downloaded and installed.

It will add a Preview button next to whichever submit button they're using on the page. Since I'm not styling the button, it's not the same burnt orangy color as used on the site... but it's functionality we're going for.

I didn't write ZDStyler. John Le'Brecage did, and here's his page for it. Sadly, it hasn't been updated since version 1.0. I just patched it to work with the new ZDNet format. ZDStyler (and this modified version) is released under the GPL, version 3.0. The script is the code, so enjoy.


Post a Comment

<< Home