Disable Source View!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • wap2k
    replied
    Originally posted by subzero View Post
    i got a html encoder that will block being copyed or see its script..

    And it can't not be decoded not at all..

    1 problem thou php scripts that need $user_tables and sql then your site will not run it will just shows $user_tables and mysql
    There would be no way to do one way html encrytion..... So i call bul**** on that. If so prove it lol.

    Originally posted by tkreturns View Post
    i had seen in someones site most probably amylee's site when i clicked the view source , it said Pssst in the source
    This is a visual trick were returns are used befor the source lol..... If you had scroll the page down the code was there.


    The Client (Browser) Requires HTML/TXT to render any page so hiding it in some ways is a complete waste of time.

    Leave a comment:


  • tkreturns
    replied
    i had seen in someones site most probably amylee's site when i clicked the view source , it said Pssst in the source

    Leave a comment:


  • subzero
    replied
    i got a html encoder that will block being copyed or see its script..

    And it can't not be decoded not at all..

    1 problem thou php scripts that need $user_tables and sql then your site will not run it will just shows $user_tables and mysql

    Leave a comment:


  • GumSlone
    replied
    its just a waste of time

    Leave a comment:


  • CreativityKills
    replied
    Originally posted by fyzan View Post
    Extract encrypt.zip to your web server and Just put
    include 'encrypt.php';
    in the beginning of your web page script.
    The HTML content will be automatically encrypted via Base64 algorithm so nobody can view it
    base64 can be decrypted with one line of code. :-/

    Leave a comment:


  • fyzan
    replied
    Encrypt Source

    Extract encrypt.zip to your web server and Just put
    include 'encrypt.php';
    in the beginning of your web page script.
    The HTML content will be automatically encrypted via Base64 algorithm so nobody can view it
    Attached Files

    Leave a comment:


  • Mysterio
    replied
    And it's as easy as hell.
    We can't hide source-code and I hate this fact.

    Leave a comment:


  • jhero14
    replied
    ..oh im sory to tell you guyz..but all code posted did nothing..you can alwayz view the source..many wap site using the php source viewer..

    Leave a comment:


  • frostymarvelous
    replied
    You're talking too complex, just come down a little. A simple javascript disable will make the script useless. I've done that on a couple of sites.

    Leave a comment:


  • wap2k
    replied
    No matter how hard you try; there is always the browser cache there is no way to stop that. Also Telnet, C/C++/c#/VB via Windows Sockets or I-Net Libs. Online source code viewers. This list could go on and on for days is there really a point with protecting it. JavaScript in Opera can just be turned of with a tick box for that specific site i guess it is true for other browsers.
    Last edited by wap2k; 15.02.11, 22:54.

    Leave a comment:


  • subzero
    replied
    They cant lmao

    Use other sites there alot of scripts here they can use to see your scripts Mahahahahaha

    Leave a comment:


  • metulj
    replied
    hmmm...
    i'd like to test something...
    so whoever use any of the above code..
    post link here so i can check
    if you can really disable source view

    Leave a comment:


  • tkreturns
    replied
    hmm

    Originally posted by khan89 View Post
    ctr + u.....
    PHP Code:
    <script language="JavaScript">
    function 
    disableCtrlAltrKeyCombination(e)
    {
            var 
    ctrlu='u';
            var 
    altrs='s';
            var 
    key;
            var 
    isCtrl;
            var 
    isAltr;

    //For Ctrl
    //For Internet Explorer

            
    if(window.event)
            {
                    
    key window.event.keyCode;
                    if(
    window.event.ctrlKey)
                            
    isCtrl true;
                    else
                            
    isCtrl false;
            }
    //For Firefox
            
    else
            {
                    
    key e.which;     //firefox
                    
    if(e.ctrlKey)
                            
    isCtrl true;
                    else
                            
    isCtrl false;
            }


    //For Alter
    //For Internet Explorer
            
    if(window.event)
            {
                    
    key window.event.keyCode;     //IE
                    
    if(window.event.altrKey)
                            
    isAltr true;
                    else
                            
    isAltr false;
            }
    //For Firefox
            
    else
            {
                    
    key e.which;     //firefox
                    
    if(e.altrKey)
                            
    isAltr true;
                    else
                            
    isAltrfalse;
            }


    //Check For CTRL+U
            
    if(isCtrl)
            {
            if(
    ctrlu.toLowerCase() == String.fromCharCode(key).toLowerCase())
            {
                            
    alert(‘Key combination CTRL U has been disabled.);
            }
                    return 
    false;
            }


    //Check For ALTR+S
            
    if(isCtrl)
            {
                    if(
    altrs.toLowerCase() == String.fromCharCode(key).toLowerCase())
            {
                            
    alert(‘Key combination ALTR S has been disabled.);
            }
                    return 
    false;
            }
            return 
    true;
    }
    </
    script>


    <
    input type="text" name="mytext" onKeyPress="return disableCtrlAltrKeyCombination(event);" onKeyDown="return disableCtrlAltrKeyCombination(event);" /> 
    here you go mate .

    Leave a comment:


  • khan
    replied
    ctr + u.....

    Leave a comment:


  • Nahar
    replied
    <?php
    function dimensi_Footer()
    {
    ?>
    <script type="text/javascript">
    disableSelection(document.body)
    </script>
    <?php
    }

    function dimensi_Disable_Right_Click($dimensi_Message)
    {?>

    <meta http-equiv="imagetoolbar" content="no">

    <script type="text/javascript" language="JavaScript">
    function disableText(e){
    return false
    }
    function reEnable(){
    return true
    }
    //For browser IE4+
    document.onselectstart = new Function ("return false")

    //For browser NS6
    if (window.sidebar){
    document.onmousdown = disableText
    document.onclick = reEnable
    }
    </script>



    <script language="JavaScript1.2">
    var msgpopup="<?php echo $dimensi_Message; ?>";
    function dimensi(){
    if(alertVis == "1") alert(message);
    if(closeWin == "1") self.close();
    return false;
    }
    function IE() {
    if (event.button == "2" || event.button == "3"){dimensi();}
    }
    function NS(e) {
    if (document.layers || (document.getElementById && !document.all)){
    if (e.which == "2" || e.which == "3"){ dimensi();}
    }
    }
    document.onmousedown=IE;document.onmouseup=NS;docu ment.oncontextmenu=new Function("alert(msgpopup);return false")

    </script>
    <?php }


    function dimensi_Disable_Selection()
    {
    ?>
    <script type="text/javascript">
    function disableSelection(target){
    if (typeof target.onselectstart!="undefined") //For IE
    target.onselectstart=function(){return false}
    else if (typeof target.style.MozUserSelect!="undefined") //For Firefox
    target.style.MozUserSelect="none"
    else //All other route (For Opera)
    target.onmousedown=function(){return false}
    target.style.cursor = "default"
    }

    </script>
    ?>
    Try This Also..m Use At my site..Just Modify This Code

    Leave a comment:

Working...
X