Hiding the page source? Possible?

joricam

Junior Member
Joined
Mar 24, 2011
Messages
198
Reaction score
12
Hi,

I need to hide the pagesource when a user seeks to see it with firefox / iexplorer or chrome. Is this possible?

PS: I don't want to affect the SEO of the page, google must see the pagesource normally

Regards
Joricam
 
Not possible. Only thing close would be a) cloak the page so you're serving completely different html to SE bots and surfers or b) disable right click (but you can still view source via the menu bar or keyboard short cut.
 
Is it possible to do a "clean" cloak? Like the SE sees the actual page source and the user sees an entirely different thing? This is for a totally legit site I don't want to be peelized or ban I just want to hide the source from other programmers.
 
Is it possible to do a "clean" cloak? Like the SE sees the actual page source and the user sees an entirely different thing? This is for a totally legit site I don't want to be peelized or ban I just want to hide the source from other programmers.

If you're going to cloak then there is a fair possibility that you will get banned or penalized. It's just a risk that goes with the territory.

There are basically three ways of cloaking: by serving different content to SE spider user agents (eg. bots that identify themselves as Googlebot), by IP (ie getting a list of spider IPs, and serving different content to those IPs) or by reverse DNS (eg. serving different content to IPs that resolve to googlebot.com). None of them is foolproof and they all carry some risk.

Why do you want to hide the source so badly? It's highly unlikely that you're doing anything so amazing with your html and css that people won't just be able to build something similar without access to the source.
 
Me too had such problems and the answer is that it is impossible!
But this is what I did..
I shifted the pagesource way down to the page! And added a message saying something like this..."PAGESOURCE NOT FOUND!!"

This will not prevent someone who has sweared to steal your pagesource but this defenitely keeps the cheep leachers off!!!Those who just come,see, n leave if they don't find what they need!!

There are plenty more ways like disable right click blah blah blah..but NONE of the method is fl proof!!!
 
If the is a way to hide your page source with enough snooping around someone would crack it...
 
Thanks all, gonna look into it deeper
 
Pretty pointless IMO, as said before, there's nothing so amazing you're doing that someone can't do easier or better.
BTW, page source is how your *browser* reads the page, without it, no page.

Again why????
 
Back
Top