daily pastebin goal
32%
SHARE
TWEET

Kode Untuk Mematikan View Source Dll

a guest Jul 19th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!-- Kode menampilkan peringatan untuk mengaktifkan javascript-->
  2.  
  3. <div align="center"><noscript>
  4.  
  5.    <div style="position:fixed; top:0px; left:0px; z-index:3000; height:100%; width:100%; background-color:#FFFFFF">
  6.  
  7.    <div style="font-family: Arial; font-size: 17px; background-color:#00bbf9; padding: 11pt;">Mohon aktifkan javascript pada browser untuk mengakses halaman ini!</div></div>
  8.  
  9. </noscript></div>
  10.  
  11.  
  12. <!--Kode untuk mencegah seleksi teks, block teks dll.-->
  13.  
  14. <script type="text/javascript">
  15.  
  16. function disableSelection(e){if(typeof e.onselectstart!="undefined")e.onselectstart=function(){return false};else if(typeof e.style.MozUserSelect!="undefined")e.style.MozUserSelect="none";else e.onmousedown=function(){return false};e.style.cursor="default"}window.onload=function(){disableSelection(document.body)}
  17.  
  18. </script>
  19.  
  20.  
  21. <!--Kode untuk mematikan fungsi klik kanan di blog-->
  22.  
  23. <script type="text/javascript">
  24.  
  25. function mousedwn(e){try{if(event.button==2||event.button==3)return false}catch(e){if(e.which==3)return false}}document.oncontextmenu=function(){return false};document.ondragstart=function(){return false};document.onmousedown=mousedwn
  26.  
  27. </script>
  28.  
  29.  
  30. <style type="text/css">
  31.  
  32. * : (input, textarea) {
  33.  
  34.     -webkit-touch-callout: none;
  35.  
  36.     -webkit-user-select: none;
  37.  
  38.  
  39. }
  40.  
  41. </style>
  42.  
  43. <style type="text/css">
  44.  
  45. img {
  46.  
  47.      -webkit-touch-callout: none;
  48.  
  49.      -webkit-user-select: none;
  50.  
  51.     }
  52.  
  53. </style>
  54.  
  55.  
  56. <!--Kode untuk mencegah shorcut keyboard, view source dll.-->
  57.  
  58. <script type="text/javascript">
  59.  
  60. window.addEventListener("keydown",function(e){if(e.ctrlKey&&(e.which==65||e.which==66||e.which==67||e.which==73||e.which==80||e.which==83||e.which==85||e.which==86)){e.preventDefault()}});document.keypress=function(e){if(e.ctrlKey&&(e.which==65||e.which==66||e.which==67||e.which==73||e.which==80||e.which==83||e.which==85||e.which==86)){}return false}
  61.  
  62. </script>
  63.  
  64. <script type="text/javascript">
  65.  
  66. document.onkeydown=function(e){e=e||window.event;if(e.keyCode==123||e.keyCode==18){return false}}
  67.  
  68. </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top