変更されたページのコードを防ぐために、シールドのコードレビューの要素を無効に右F12のHTMLサイト

<SCRIPT> //右禁止

 

関数クリック(e)の{

 

IF(document.allの){

 

もし(event.buttonを== 2 || event.buttonを== 3){警告(「私の家へようこそ、あなたが助けを必要とするもの、ウェブマスターに連絡してください!ご協力ありがとうございました!」);

 

oncontextmenu = 'falseを返します';

 

}

 

}

 

IF(document.layersを){

 

IF(e.which == 3){

 

oncontextmenu = 'falseを返します';

 

}

 

}

 

}

 

IF(document.layersを){

 

document.captureEvents(Event.MOUSEDOWN)。

 

}

 

document.onmousedown =クリックしてください。

 

document.oncontextmenu =新機能( "return false;" を)

 

document.onkeydown = document.onkeyup = document.onkeypress =関数(){ 

 

IF(window.event.keyCode == 12){ 

 

window.event.returnValue = falseは、

 

(false)を返します。 

 

 

}

 

</ SCRIPT>

 

 

 

  <スクリプト> // F12を禁止します

 

{fuckyou機能()

 

window.close(); //現在のウィンドウ(抗ポンプ)を閉じます

 

window.locationの=「に関する:空白」; //現在のウィンドウが空白のページをジャンプ設定

 

}

 

 

 

関数クリック(e)の{

 

IF(document.allの){

 

  IF(event.buttonを== 2 || event.buttonをする== 3){ 

 

警告(「私の家へようこそ、あなたが助けを必要とするもの、ウェブマスターに連絡してください!ご協力ありがとうございました!」);

 

oncontextmenu = 'falseを返します';

 

}

 

 

 

}

 

IF(document.layersを){

 

IF(e.which == 3){

 

oncontextmenu = 'falseを返します';

 

}

 

}

 

}

 

IF(document.layersを){

 

fuckyou();

 

document.captureEvents(Event.MOUSEDOWN)。

 

}

 

document.onmousedown =クリックしてください。

 

document.oncontextmenu =新機能( "return false;" を)

 

document.onkeydown = document.onkeyup = document.onkeypress =関数(){ 

 

IF(window.event.keyCodeの== 123){ 

 

fuckyou();

 

window.event.returnValue = falseは、

 

(false)を返します。 

 

 

}

 

</ SCRIPT>

おすすめ

転載: www.cnblogs.com/HGNET/p/11447823.html
おすすめ