Skip to content

禁止网页上F12,Ctrl+U,Ctrl+S,出现弹窗并且语音提示

License

Notifications You must be signed in to change notification settings

Akagicv/NO_F12_CtrlU_CtrlS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

禁止网页上F12,Ctrl+U,Ctrl+S,出现弹窗并且语音提示

前言

演示地址:https://www.akagicv.com/mrfz/ (魔改的导航页)

能防止F12(控制台) Ctrl+U(新建窗口查看源代码) Ctrl+S(保存网页)

使用方法(萌新版)

页面内引入css

<link rel="stylesheet" href="https://akagicv-1252448470.cos.ap-shanghai.myqcloud.com/add.css" type="text/css" />

页面内引入JS代码

<script src="https://akagicv-1252448470.cos.ap-shanghai.myqcloud.com/f12.js"></script>

页面内引入音频资源(可替换为自己的音频文件)

<audio src="https://akagicv-1252448470.cos.ap-shanghai.myqcloud.com/error.wav" style="display:none" preload="auto" id="audio"></audio>

页面内引入提示框

<div id="kzt" class="tc">
  <div class="wenzi">
    <span class="gb">&times;</span>
    <p>白面鸮检测到非法打开控制台的请求</p>
  </div> 
</div>

<div id="ydm" class="tc">
  <div class="wenzi">
    <span class="gb">&times;</span>
    <p>白面鸮检测到非法查看源代码的请求</p>
  </div>
</div>

<div id="bc" class="tc">
  <div class="wenzi">
    <span class="gb">&times;</span>
    <p>白面鸮检测到非法保存网页的请求</p>
  </div>
</div>

结束

使用方法(大佬版)

下载文件
结束

About

禁止网页上F12,Ctrl+U,Ctrl+S,出现弹窗并且语音提示

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published