Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I tried encoding JavaScript using “Encode Script” option. It works good in Internet Explorer but will it work in other browsers?

0
Posted

I tried encoding JavaScript using “Encode Script” option. It works good in Internet Explorer but will it work in other browsers?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123