Script Encoding in Server Controls?

Does anyone know if this technique is cross-browser compatible? I know that DbCombo.net uses it to encode the javascript in IE, but I'm not sure if it works anywhere else. Any thoughts?

2 Comments

  • DBCombo renders a very different control when viewed in a Mozilla browser. It does a full page post and doesn't have the drop-down, so it is pretty much a no-script variant of the control.



    Besides not being cross-browser, the script encoding has other problems: it's not really secure (you can reverse the encoding and extract the original code) and it makes development harder unless you never use "view source" yourself ;-)

  • as far as I can tell, it only works for JScript and VBScript, both of which are MS-only, right?

Comments have been disabled for this content.