I tried encoding JavaScript using “Encode Script” option. It works good in Internet Explorer but will it work in other browsers?
Unfortunately, the answer is no. At the current stage, only Microsoft Internet Explorer version 5.0 and later supports encoded JavaScript/VBScript blocks. Please make sure that this is only attributed to JavaScript/VBScript encoded using “Encode script” option. The rest of obfuscation is browser-independent. This should not deter you from using this feature though. One sure-fire way is not use it on a server side that is running Microsoft software (ASP server, for instance.) For the client side – just make sure that you create two versions of the same page and make your server side software detect client browser. If it’s Microsoft Internet Explorer then make it send encoded version of your page, otherwise send a regular page.