Page 5 of 5 FirstFirst ... 345
Results 41 to 46 of 46

Thread: how to hide a source code

  1. #41
    Senior Member
    Join Date
    Oct 2001
    Posts
    346
    Nihao Alcslz!

    Grats on your first post. Good info.

    Regards,

    SSJVegeta-Sei


    Pierce me with steel, rend me with claw and fang; as I die, a legend is born for another generation to follow.
    An\' it harm none, do as ye will. - Wiccan Rede

  2. #42
    AO Antique pwaring's Avatar
    Join Date
    Aug 2001
    Posts
    1,409
    Originally posted here by alcslz
    Use ASP,or ASP.NET.
    Good !
    It doesn't matter what server side language you use, because your unencrypted HTML source code will still be sent to any client which issues a valid HTTP GET request.
    Paul Waring - Web site design and development.

  3. #43
    Senior Member
    Join Date
    Oct 2001
    Posts
    786
    I was waiting for a bump and I second pwaring's words. Even having multiple echos wouldn't work as someone else suggested. Put in comparison with AntiOnline, what you can expect to do is hide the internals of the AP system. But you can't hide the HTML that makes up the forum. Hope that is a good comparison of what can/can't be done with SSI. I have to go to school. Later.

  4. #44
    Junior Member
    Join Date
    Mar 2003
    Posts
    12
    Index Page.html

    <HTML>
    <HEAD>
    <TITLE>hiding script with Frames</TITLE>

    <!--No right Click mouse option to prevent a person from viewing source of pages
    this is best to be added throughout your site so people don't have the option to view the source of your pages just the option to view the source of your Index.html (frame)- remove this line->

    <script language="Javascript1.2">

    // (C) 2003 CodeLifter.com
    // Source: CodeLifter.com
    // Do not remove this header

    // Set the message for the alert box
    am = "This function is disabled!";

    // do not edit below this line
    // ===========================
    bV = parseInt(navigator.appVersion)
    bNS = navigator.appName=="Netscape"
    bIE = navigator.appName=="Microsoft Internet Explorer"

    function nrc(e) {
    if (bNS && e.which > 1){
    alert(am)
    return false
    } else if (bIE && (event.button >1)) {
    alert(am)
    return false;
    }
    }

    document.onmousedown = nrc;
    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
    if (bNS && bV<5) window.onmousedown = nrc;

    </script>

    </HEAD>
    <FRAMESET FRAMESPACING="0" BORDER="false" ROWS="1,*" FRAMEBORDER="0">
    <FRAME NAME="swf" SCROLLING="no" NORESIZE TARGET="main" SRC="010519b.html"
    MARGINWIDTH="1" MARGINHEIGHT="1">
    <FRAME NAME="main" src="010519c.html" scrolling="auto">
    <NOFRAMES>

    <BODY>
    <P>This page uses frames, but your browser doesn't support them.</P>
    <SCRIPT LANGUAGE="JavaScript">

    <!-- Begin
    if (window != top) top.location.href = location.href;
    // End -->
    </SCRIPT>
    </CENTER>
    </BODY>


    </NOFRAMES>
    </FRAMESET>
    </HTML>

    010519c.html
    -----------------

    HTML>
    <HEAD>
    <TITLE>VISIBLE FRAME</TITLE>

    <script language="Javascript1.2">

    // (C) 2003 CodeLifter.com
    // Source: CodeLifter.com
    // Do not remove this header

    // Set the message for the alert box
    am = "This function is disabled!";

    // do not edit below this line
    // ===========================
    bV = parseInt(navigator.appVersion)
    bNS = navigator.appName=="Netscape"
    bIE = navigator.appName=="Microsoft Internet Explorer"

    function nrc(e) {
    if (bNS && e.which > 1){
    alert(am)
    return false
    } else if (bIE && (event.button >1)) {
    alert(am)
    return false;
    }
    }

    document.onmousedown = nrc;
    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
    if (bNS && bV<5) window.onmousedown = nrc;

    </script>
    </HEAD>
    <BODY>

    <BODY bgcolor=lightblue>

    <CENTER>

    <!-every link you open throughout your site with your code on it make sure that the A href option starts with the following-remove this line->>

    <P>Hello World. This is 010519c.html.</P>

    <!--this is the link to your sites that requires to be altered fitting the names of your site pages-Remove this line also->

    <A HREF="010519d.html">Next</a>
    </BODY>
    </HTML>

    However don't forget to disable the right click option and use the above and the only code they will see is that of your main frame?

    hope that helps

  5. #45
    Easiest way to get around the above script?:

    1. Continually press right click over and over again to move faster than the script

    2. Filemenu: View > Source code

    3. Save as.. HTML file


    Hiding HTML code is impossible and pointless to the community as a whole, defeating the learning and exploration process.

  6. #46
    AO übergeek phishphreek's Avatar
    Join Date
    Jan 2002
    Posts
    4,325
    pooh sun tzu:

    Another way...

    right click and hold the right click. left click on the OK, then let go for the right click....

    you now have that right click menu

    or, go to view, source

    (probably already been posted... but I didn't feel like reading over all the threads again... i'm lazy today. )
    Quitmzilla is a firefox extension that gives you stats on how long you have quit smoking, how much money you\'ve saved, how much you haven\'t smoked and recent milestones. Very helpful for people who quit smoking and used to smoke at their computers... Helps out with the urges.

Posting Permissions

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