1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hiding the page source? Possible?

Discussion in 'Black Hat SEO' started by joricam, Apr 2, 2011.

  1. joricam

    joricam Junior Member

    Joined:
    Mar 24, 2011
    Messages:
    198
    Likes Received:
    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
     
  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    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.
     
  3. joricam

    joricam Junior Member

    Joined:
    Mar 24, 2011
    Messages:
    198
    Likes Received:
    12
    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.
     
  4. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    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.
     
  5. Jeevs

    Jeevs Supreme Member

    Joined:
    Dec 14, 2010
    Messages:
    1,359
    Likes Received:
    1,628
    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!!!
     
    • Thanks Thanks x 1
  6. Speckled Terrier

    Speckled Terrier Junior Member

    Joined:
    Mar 31, 2011
    Messages:
    121
    Likes Received:
    29
    Location:
    Gulf Coast
    If the is a way to hide your page source with enough snooping around someone would crack it...
     
  7. joricam

    joricam Junior Member

    Joined:
    Mar 24, 2011
    Messages:
    198
    Likes Received:
    12
    Thanks all, gonna look into it deeper
     
  8. palladiumxr

    palladiumxr Newbie

    Joined:
    Mar 27, 2011
    Messages:
    4
    Likes Received:
    0
    You could use Unescape too.
     
  9. hackNstuff

    hackNstuff BANNED BANNED Premium Member

    Joined:
    Jun 10, 2010
    Messages:
    136
    Likes Received:
    15
    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????