How to hide source code and inspect element via javascript or jquery?
<p>I want to disable my webpage source code and inspect element bar. And I did it with this script. But if I wrote <code>" view-source: "</code> before my url the source code will be shown. How can I fix this? Is there any possibility to hide source code? Good answers must be appreciated </p>

<pre><code>&lt;script&gt;

  document.onkeydown = function(e) {
    if(e.keyCode == 123) {
     return false;
    }
    if(e.ctrlKey &amp;&amp; e.shiftKey &amp;&amp; e.keyCode == 'I'.charCodeAt(0)){
     return false;
    }
    if(e.ctrlKey &amp;&amp; e.shiftKey &amp;&amp; e.keyCode == 'J'.charCodeAt(0)){
     return false;
    }
    if(e.ctrlKey &amp;&amp; e.keyCode == 'U'.charCodeAt(0)){
     return false;
    }

    if(e.ctrlKey &amp;&amp; e.shiftKey &amp;&amp; e.keyCode == 'C'.charCodeAt(0)){
     return false;
    }      
 }

&lt;/script&gt;
</code></pre>