WEB How to hide sections from view source?

Discussion in 'OT Technology' started by Browning, Jun 8, 2009.

  1. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,463
    Likes Received:
    10
    Is it possible to hide code from being seen through source code?
     
  2. 07

    07 18-1

    Joined:
    Jun 26, 2006
    Messages:
    4,933
    Likes Received:
    0
    What would you want to hide?

    For seo, you would have some serious repercussions...
     
  3. Cojones

    Cojones Guest


    PHP ?

    What are you trying to hide? Like 07 said, I wouldn't recommend it.
     
  4. Shampoo

    Shampoo Rinse & Repost

    Joined:
    May 5, 2004
    Messages:
    60,183
    Likes Received:
    0
    Location:
    California
    You could go with some serious javascript to hide code from noobs.
     
  5. crazybenf

    crazybenf Active Member

    Joined:
    Nov 14, 2001
    Messages:
    15,578
    Likes Received:
    3
    js obfuscation. only stops the morons though.
     
  6. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,463
    Likes Received:
    10

    just didn't want any one taking the code:dunno:
     
  7. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    If you have anything you'd consider that much of a trade secret (highly unlikely), then you'd be better off doing the work on the back end.
     
  8. Shampoo

    Shampoo Rinse & Repost

    Joined:
    May 5, 2004
    Messages:
    60,183
    Likes Received:
    0
    Location:
    California
    If they want to, they will.
     
  9. Black Baby Jesus

    Black Baby Jesus OT Supporter

    Joined:
    Jan 4, 2007
    Messages:
    42,694
    Likes Received:
    1
    Location:
    Anacostia, Washington D.C.
    I'M ON YOUR INTERNETS STEALING YOUR SHITTY HTML SOURCE.

    :hsugh:
     
  10. Browning

    Browning Active Member

    Joined:
    Feb 14, 2005
    Messages:
    89,463
    Likes Received:
    10


    :hsugh:
     
  11. Black Baby Jesus

    Black Baby Jesus OT Supporter

    Joined:
    Jan 4, 2007
    Messages:
    42,694
    Likes Received:
    1
    Location:
    Anacostia, Washington D.C.
    seriously, why do you give a fuck?

    It's fucking HTML. It's not like it's a fucking algorithm to cure cancer or something.
     
  12. Insert Tokens

    Insert Tokens Making Cancer My Bitch OT Supporter

    Joined:
    Jan 12, 2006
    Messages:
    8,330
    Likes Received:
    76
    Location:
    Tasmania
    Even with JS tricks etc, the only people who are going to be fooled by it are most likely not the people you're worried about. If anyone is "going after" your sourcecode, no doubt they know at least a bit about it, and will get past anything you can come up with in seconds.
     
  13. Black Baby Jesus

    Black Baby Jesus OT Supporter

    Joined:
    Jan 4, 2007
    Messages:
    42,694
    Likes Received:
    1
    Location:
    Anacostia, Washington D.C.
    Build your entire site out of javascript and obfuscate the code.

    Steal that, motherfucker.
     
  14. Insert Tokens

    Insert Tokens Making Cancer My Bitch OT Supporter

    Joined:
    Jan 12, 2006
    Messages:
    8,330
    Likes Received:
    76
    Location:
    Tasmania
    Yeah, and the Titanic was unsinkable, a Mac can't get a virus, and Linux never crashes.
     
  15. Black Baby Jesus

    Black Baby Jesus OT Supporter

    Joined:
    Jan 4, 2007
    Messages:
    42,694
    Likes Received:
    1
    Location:
    Anacostia, Washington D.C.
    Any person capable of undoing that is a person that most likely would have no reason to steal somebody's html source.
     
  16. hsmith

    hsmith OT Supporter

    Joined:
    Feb 24, 2002
    Messages:
    124,630
    Likes Received:
    727
    Location:
    Your mother.
    hey, how do i do flyovers on links?
     
  17. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,924
    Likes Received:
    11
    Location:
    Los Angeles
    You don't want to do this. It's just HTML.
     
  18. Javi

    Javi Active Member

    Joined:
    Sep 13, 2004
    Messages:
    37,786
    Likes Received:
    0
    Location:
    Houston, TX
    agreed. complete waste of time.
     

Share This Page