I want to pre-escape part of my javascript code and then include it in my page in the form of eval(unescape([code])). would I be sacrificing performance?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Don’t worry about hiding your JavaScript code from spiders. It should be the least of your concerns, especially since they don’t bother to look at it (except looking for more links to crawl).
http://googlewebmastercentral.blogspot.com/2007/11/spiders-view-of-web-20.html