user Posted August 6, 2007 Share Posted August 6, 2007 Hello! I want to hide the javascript code in a php file because it uses a resource from another website, and if the code is visible, search engines are spidering that php page, and also the scripts in it. Quote Link to comment https://forums.phpfreaks.com/topic/63544-hide-javascript-code-from-browsers-and-search-engines/ Share on other sites More sharing options...
trq Posted August 6, 2007 Share Posted August 6, 2007 Javascript runs client side, the browser needs to be able to read it to execute it. Quote Link to comment https://forums.phpfreaks.com/topic/63544-hide-javascript-code-from-browsers-and-search-engines/#findComment-316687 Share on other sites More sharing options...
user Posted August 6, 2007 Author Share Posted August 6, 2007 So, can i consider it normal? Check http://motorespt.net 's page source and you'll understand. Those pages in javascript code are being spidered too Quote Link to comment https://forums.phpfreaks.com/topic/63544-hide-javascript-code-from-browsers-and-search-engines/#findComment-316792 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.