View Single Post
Old 05-08-2007, 05:27 AM  
StarkReality
Confirmed User
 
StarkReality's Avatar
 
Join Date: May 2004
Location: 4 8 15 16 23 42
Posts: 4,444
Quote:
Originally Posted by mrgica View Post
listen wiseguy, I know you cant protect the source code 100% but you can stop newbies and surfers to view it.

Where can I find a script like this site has:
http://www.naknasvenskor.com (difficult to view the source)
Even protecting it from surfers is tricky, things that work with IE are worthless for Firefox and Opera. The easiest way is to add loads of blank lines on top, most surfers won't bother to scroll down all the way. What exactly do you want to hide ?

For JS, put it in an external .js instead of putting it on the page, same for css, for links you can use a 301 in your htaccess. If you don't mind javascript, you can encode the whole page in javascript, looks fucking ugly, noone can read it and search engines will go mad. Or you could code everything in PHP so surfers only see the html output and not how the page is generated...totally depends on what you want to hide.
StarkReality is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote