Converting JavaScript to VBScript

Now obviously VBScript isn’t standard but, it seems that there are so many client-side scripts these days to overcome IE6’s increasingly plain shortcomings on Web standards. Most of these scripts are DOM compliant and are in JavaScript but since they should only apply to IE why not put them all in VBScript since it’s Microsoft’s browser that’s broken? Thus we can avoid the sniffing since all other browsers can’t parse VBScript.

I’ve been building a file to fix IE’s broken standards support, all of these hacks are in JavaScript (Actually a lot of it is in MS’s dialect, jscript.) so far. But since they are all for IE, why not just code them VBScript? When Microsoft finally gets a better browser out, the file can be scrapped. So this is my new project, if I ever get around to it.

This entry was posted in Webmastering. Bookmark the permalink.