当前位置:网站首页>It is forbidden to copy content JS code on the website page
It is forbidden to copy content JS code on the website page
2022-07-05 16:49:00 【withkai44】
Add this section to your webpage location js Code
document.onselectstart = new Function('return false');
document.oncontextmenu = new Function('return false');
if (window.sidebar) {
document.onmousedown = new Function('return false');
document.onclick = new Function('return true');
document.oncut = new Function('return false');
document.oncopy = new Function('return false');
}
document.addEventListener('keydown', function (e) {
if (e.keyCode === 83 && (navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey)) {
e.preventDefault();
e.stopPropagation();
}
}, false);
边栏推荐
- Sentinel-流量防卫兵
- Basic introduction to the control of the row component displaying its children in the horizontal array (tutorial includes source code)
- Apple 已弃用 NavigationView,使用 NavigationStack 和 NavigationSplitView 实现 SwiftUI 导航
- 一些認知的思考
- 搜索 正排索引 和 倒排索引 区别
- Record a 'very strange' troubleshooting process of cloud security group rules
- Jarvis OJ 远程登录协议
- "21 days proficient in typescript-3" - install and build a typescript development environment md
- 单商户 V4.4,初心未变,实力依旧!
- [brush questions] effective Sudoku
猜你喜欢
PSPNet | 语义分割及场景分析
File operation --i/o
Solve cmakelist find_ Package cannot find Qt5, ECM cannot be found
Scratch colorful candied haws Electronic Society graphical programming scratch grade examination level 3 true questions and answers analysis June 2022
清晰还原31年前现场,火山引擎超清修复Beyond经典演唱会
Jarvis OJ simple network management protocol
Domestic API management artifact used by the company
Benji Bananas 会员通行证持有人第二季奖励活动更新一览
Deep dive kotlin synergy (XXI): flow life cycle function
中国广电正式推出5G服务,中国移动赶紧推出免费服务挽留用户
随机推荐
How does win11 change icons for applications? Win11 method of changing icons for applications
Jarvis OJ webshell analysis
yarn 常用命令
Global Data Center released DC brain system, enabling intelligent operation and management through science and technology
Benji Bananas 会员通行证持有人第二季奖励活动更新一览
《21天精通TypeScript-3》-安装搭建TypeScript开发环境.md
Jarvis OJ 简单网管协议
[echart] resize lodash 实现窗口缩放时图表自适应
BS-XX-042 基于SSM实现人事管理系统
"21 days proficient in typescript-3" - install and build a typescript development environment md
【 brosser le titre 】 chemise culturelle de l'usine d'oies
Oneforall installation and use
Android 隐私沙盒开发者预览版 3: 隐私安全和个性化体验全都要
Win11 prompt: what if the software cannot be downloaded safely? Win11 cannot download software safely
tf.sequence_mask函数讲解案例
[es6] add if judgment or ternary operator judgment in the template string
Fleet tutorial 09 basic introduction to navigationrail (tutorial includes source code)
Cartoon: what is distributed transaction?
Jarvis OJ Flag
树莓派4b安装Pytorch1.11