Results 1 to 9 of 9

Thread: HOw to hide the source code not to view

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default HOw to hide the source code not to view

    Hello, i want to ask how to hide the source to be view on the VIEW SOURCE menu of browser

    Regards

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    I don't think you can. Have you ever seen a site with view source disabled ?
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3
    Join Date
    Sep 2008
    Posts
    1,019

    Default

    It is impossible to prevent someone from viewing the source using the browser. When you view the source, what you are seeing is the information that your server has already sent to the web browser. If there were a way to hide that information, your browser would not be able to show you the page that you are looking at. There are some tools out there that can attempt to make reading the source difficult by using javascript and obfuscation. But, if the browser can read it and understand it, then so can anyone.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  4. #4

    Default

    Yes, last year i found a vshare version 2.6 that the source code is disable to view,

  5. #5
    Join Date
    Sep 2008
    Posts
    1,019

    Default

    Those are two different source codes. The source code of the script is never sent to the browser. Only the HTML output from the script. Further, you can't prevent a the HTML output from showing up in the browser.
    Last edited by bplex; 09-10-2010 at 11:15 PM.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  6. #6

    Default

    Quote Originally Posted by bplex View Post
    Those are two different source codes. The source code of the script is never sent to the browser. Only the HTML output from the script.
    so its there anyway to hide it from user to view the html source out on the browser

  7. #7
    Join Date
    Sep 2008
    Posts
    1,019

    Default

    No. The only thing you can do is obfuscate it using Javascript. There is no way to prevent people from viewing the HTML output of the code. As I said before, if there were a way to do that, your browser would not be able to read the page.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  8. #8

    Default

    Quote Originally Posted by bplex View Post
    No. The only thing you can do is obfuscate it using Javascript. There is no way to prevent people from viewing the HTML output of the code. As I said before, if there were a way to do that, your browser would not be able to read the page.
    how can i obfuscate it using javascript? i want it to be hide because somebody is embedding my videos using the view source of the browser, i want it to be prevent thats why i disable embedding on the vshare admin, but still there can embed it because of view source on the browser, and also how to hide the VIDEO ID on the browser address that it will be hide also

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
  •