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. 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. 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 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
Archived
This topic is now archived and is closed to further replies.