当前位置:网站首页>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);
边栏推荐
- Yarn common commands
- 极坐标扇图使用场景与功能详解
- Benji Banas membership pass holders' second quarter reward activities update list
- Explain in detail the functions and underlying implementation logic of the groups sets statement in SQL
- 网站页面禁止复制内容 JS代码
- 如何将mysql卸载干净
- 数据访问 - EntityFramework集成
- [61dctf]fm
- 给自己打打气
- [echart] resize lodash to realize chart adaptation when window is zoomed
猜你喜欢
數據訪問 - EntityFramework集成
Jarvis OJ Webshell分析
Flet教程之 12 Stack 重叠组建图文混合 基础入门(教程含源码)
解决CMakeList find_package找不到Qt5,找不到ECM
Deep learning plus
HiEngine:可媲美本地的云原生内存数据库引擎
[deep learning] how does deep learning affect operations research?
Oneforall installation and use
中国广电正式推出5G服务,中国移动赶紧推出免费服务挽留用户
Games101 notes (I)
随机推荐
SQL injection of cisp-pte (Application of secondary injection)
《21天精通TypeScript-3》-安装搭建TypeScript开发环境.md
Sentinel-流量防卫兵
Twig数组合并的写法
How to uninstall MySQL cleanly
Win11 prompt: what if the software cannot be downloaded safely? Win11 cannot download software safely
Solution of vant tabbar blocking content
Sentinel flow guard
Jarvis OJ shell流量分析
给自己打打气
【刷題篇】鹅廠文化衫問題
scratch五彩糖葫芦 电子学会图形化编程scratch等级考试三级真题和答案解析2022年6月
公司自用的国产API管理神器
国产芯片产业链两条路齐头并进,ASML真慌了而大举加大合作力度
如何安装mysql
Record a 'very strange' troubleshooting process of cloud security group rules
Some cognitive thinking
Cartoon: what is service fusing?
Benji Banas membership pass holders' second quarter reward activities update list
Apple 已弃用 NavigationView,使用 NavigationStack 和 NavigationSplitView 实现 SwiftUI 导航