Giter Site home page Giter Site logo

xiamuguizhi / no_f12_ctrlu_ctrls Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akagicv/no_f12_ctrlu_ctrls

0.0 0.0 0.0 93 KB

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

License: Apache License 2.0

CSS 27.99% JavaScript 47.94% HTML 24.07%

no_f12_ctrlu_ctrls's Introduction

禁止网页上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>

结束

使用方法(大佬版)

下载文件
结束

no_f12_ctrlu_ctrls's People

Contributors

akagicv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.