当前位置:网站首页>JS prevent the PC side from copying correct links
JS prevent the PC side from copying correct links
2022-06-23 00:44:00 【Ziwei front end】
if (!/Mobi|Android|iPhone/i.test(navigator.userAgent)) {
var json = {
time: new Date().getTime()
};
var href = location.href;
// To be homologous
window.history.pushState(json, "", "http://oa.xxxxx.com/ Prohibit copying links ");
window.onbeforeunload = function(e) {
window.history.pushState(json, "", href)
}
}边栏推荐
- 数据库每日一题---第20天:按日期分组销售产品
- SAP MM ME27 创建公司内STO单
- How to get started with machine learning?
- LeetCode刷题——715. Range 模块
- 打新债属于什么理财产品?
- Kunlundb query optimization (II) project and filter push down
- How about precious metal spot silver?
- How to set the power-off auto start of easycvr hardware box
- 中国国际期货有限公司怎么样,是正规的期货公司吗?网上开户安全吗?
- Voice network multiplayer video recording and synthesis support offline re recording | Nuggets technology solicitation
猜你喜欢

BGP federal comprehensive experiment
Because I said: volatile is a lightweight synchronized, the interviewer asked me to go back and wait for the notice!

Kunlundb backup and recovery

SAP ui5 application development tutorial 102 - detailed explanation of the print function of SAP ui5 applications

How about precious metal spot silver?

OLAP - Druid introduction

Kunlundb query optimization (II) project and filter push down

你踩过这些坑吗?谨慎在时间类型列上创建索引

How to use enum data types

图神经网络有哪些用途和应用?
随机推荐
Quelle est la structure et la façon dont les données sont stockées dans la base de données?
cadence SPB17.4 - allegro - 优化指定单条电气线折线连接角度 - 折线转圆弧
New paradigm of semantic segmentation! Structtoken: Rethinking the per pixel classification paradigm
OpenCvSharp (C# OpenCV) 微信QRCode解码功能使用介绍(附源码)
Introduction to the use of opencvsharp (C openCV) wechat QRcode decoding function (with source code attached)
OSPF综合实验
Have you stepped on these pits? Use caution when creating indexes on time type columns
你踩过这些坑吗?谨慎在时间类型列上创建索引
启牛学堂属于证券公司吗?开户安全吗?
Cadence spb17.4 - Chinese UI settings
Shell logs and printouts
Hello, is the securities account presented by the Business School of qiniu business school safe? How can I open a safe stock account to speculate in stocks
Some thoughts about the technology of test / development programmers are very advanced, and they can't go on
TIDB监控升级解决panic的漫漫探索之路
Several abnormal scenarios of things system
數據庫中數據的儲存結構和方式是什麼?
LeetCode刷题——715. Range 模块
Does qiniu school belong to a securities company? Is it safe to open an account?
因为我说:volatile 是轻量级的 synchronized,面试官让我回去等通知!
Ansible learning summary (8) -- Summary of ansible control right raising related knowledge