Results 1 to 3 of 3

Thread: hide view source..?

  1. #1
    Join Date
    Jun 2008
    Posts
    14
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default hide view source..?

    how can we hide our website source ...??
    i mean when someone click on view source it will not appear the script....

    thanks..

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    There's no way at all to prevent this.
    Lets just say if something is so precious to you, don't post it on the internet.
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    asoekaya (07-29-2008)

  4. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    HTML is code and only code. The only reason you don't see code is because the browser displays colors and formatting based on the code, rather than the code itself. A browser could actually be programmed to only show the code (not that it would be helpful).
    So, what you do is send code and the browser displays graphics. Without the code, the browser can't display graphics. And, of course, the browser will have the code.
    Browsers also don't have a command to hide the view source option (and if they did it would only work for some browsers), and you can always just view the text of the page anyway (like in notepad).
    In other words, this is absolutely impossible.

    I'm going to close this discussion because it's been brought up many times, but feel free to search the forums for "hide view source" and you'll get a lot more info if you want.
    However, even if you find what might look like an answer, it's just a way of making it harder to view the source (like putting it in a frame), and really won't stop anyone.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. The Following User Says Thank You to djr33 For This Useful Post:

    asoekaya (07-29-2008)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •