当前位置:网站首页>Remove screen cutting and copying restrictions
Remove screen cutting and copying restrictions
2022-07-28 04:01:00 【SingYi】
// Remove the screen cutting restriction window.onmouseleave = window.onblur = window.onmouseout = document.onmouseleave = document.onblur = document.onmouseout = document.body.onmouseleave = document.body.onblur = document.body.onmouseout = onmouseleave = onblur = onmouseout = null;
// Uncheck text ( here html See the restriction events bound to the specific examination page dom And decide ) window.onselectstart = document.onselectstart = document.body.onselectstart = onselectstart = document.querySelector("html").onselectstart = null;
// Release the copy and paste restrictions window.oncopy = window.onpaste = document.oncopy = document.onpaste = document.body.oncopy = document.body.onpaste = oncopy = onpaste = null;
// Release the right-click menu restriction ( here html See the restriction events bound to the specific examination page dom And decide ) window.oncontextmenu = document.oncontextmenu = document.body.oncontextmenu = oncontextmenu = document.querySelector("html").oncontextmenu = null;
// Remove the shortcut key operation shielding window.onkeyup = window.onkeydown = window.onKeyPress = document.onkeyup = document.onkeydown = document.onKeyPress = document.body.onkeyup = document.body.onkeydown = document.body.onKeyPress = onkeyup = onkeydown = onKeyPress = null;
边栏推荐
- 【LeetCode】34、在排序数组中查找元素的第一个和最后一个位置
- Read Plato farm's eplato and the reason for its high premium
- 高等数学(第七版)同济大学 习题3-4 个人解答(后8题)
- Detailed explanation of string + memory function (C language)
- 高等数学(第七版)同济大学 习题3-5 个人解答
- Advanced Mathematics (Seventh Edition) Tongji University exercises 3-4 personal solutions (first 8 questions)
- WordPress简约mkBlog博客主题模板v2.1
- Interview essential skills: SQL query special training!
- CANopen learning notes
- Redis cluster
猜你喜欢

基于SSM实现在线租房系统

Detailed explanation of string + memory function (C language)

STC timer is abnormal (how to modify the initial value, the timing time is 100ms)

Advanced Mathematics (Seventh Edition) Tongji University exercises 3-5 personal solutions

Security exception handling mechanism

Construction and use of FTP server and NFS server

MySQL是怎么保证高可用的

程序人生 | 测试工程师还只会点点点?7个捷径教给你快速学习新技术...

Selenium--WEB自动化测试工具

一个仿win10蓝屏的404页面源码
随机推荐
[openvx] VX for basic use of objects_ distribution
[MySQL database] index and transaction (often used in interview)
常用的接口测试工具
Dynamic planning - 62. Different paths
Greed 122. The best time to buy and sell stocks II
Machine learning 06: Decision Tree Learning
Chinese Remainder Theorem of X problem
LeetCode_ 409_ Longest palindrome string
程序人生 | 测试工程师还只会点点点?7个捷径教给你快速学习新技术...
Data mining-01
What is interface testing and its testing process
Filters, interceptors, listeners
C语言:求一个整数存储在内存中的二进制中1的个数
Iterator function operation of iterator learning
Appnium--APP自动化测试工具
Dynamic programming - 509. Fibonacci number
Combination of Oracle and Premier League statistics and presentation
递归和非递归分别实现求第n个斐波那契数
Common weak network testing tools
【图像分类】2021-MLP-Mixer NIPS