This Greasemonkey script will translate a subset of the BBcode used on ZD-Net forums into an HTML preview.
The ZDstyler script puts no load on ZD-Net servers. All processing is done clientside.
I would release the ZDstyler under a Free Software license, but will not do so until the so-called ASP loophole is closed. The GPL, Version 3, is promised for Spring, 2007.
The ZDstyler script is Copyright ©2005 by John Le'Brecage. Until January 1, 2008: The script is licensed under the "Crusty Old Bastard License". You are only permitted to use the script for posting to the zdnet.com forums and any forums subdomained by zdnet.com. You may not copy, distribute, modify, or prepare derivative works of the script. You may not execute portions of the script from outside the script. You may not use or encourage use of the script for any direct or indirect commercial purpose. This license is to be interpreted under the laws of the Commonwealth of Virginia, USA, including, but not limited to UCITA. After January 1, 2008: The ZDstyler script is licensed under the GPL, version 3, or any future version.
To run a Greasmonkey script like ZDstyler, you will need:
1.0.7 or laterThat's it. You are now stylin' with the first of 'em.
You may report bugs to zdstyler at tylercommunications spot com. ZDstyler has been tested on Firefox 1.0.7, GreaseMonkey 0.5.3 under the Fedora Core 4 Linux distribution and on Firefox 1.5.0, with GreaseMonkey 0.6.4 under Windows XP Pro.
My thanks go out to: journalist extraordinaire M. Tyler for granting me space and bandwidth to distribute ZDstyler; Alex Munroe, for providing bug-reports; Aaron Boodman and Jeremy Dunck for maintaining Greasemonkey; the many ZD-net forum comment writers, of all these many years, who complained about the old ZD-Net forum preview function going away; and of course the voluminously prolific John Carrol, whose long articles demand long replies, which in turn demand a previewer. — John Le'Brecage
For purposes of this disclaimer the PROGRAM is ZDstyler, Version 1.0.
THE PROGRAM IS PROVIDED TO ENHANCE THE USER EXPERIENCE OF ZD-NET FORUMS, HOWEVER TYLER COMMUNICATIONS, M.TYLER, AND JOHN LE'BRECAGE ARE NOT AGENTS NOR AFFILIATES NOR DO THEY REPRESENT THEMSELVES AS BEING AGENTS OR AFFILIATES OF ZD-NET. ZD-NET IS NOT RESPONSIBLE FOR THE CONTENTS OR FUNCTIONALITY OF THE PROGRAM.
BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.