V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  openmynet  ›  全部回复第 8 页 / 共 8 页
回复总数  146
1  2  3  4  5  6  7  8  
2018-05-06 01:39:01 +08:00
回复了 131 创建的主题 JavaScript PageGuard.js 防复制 + 检测开发者工具
优化下:
javascript: (function() {
let html = document.documentElement.cloneNode(true);
let jsNodes = html.querySelectorAll("script");
jsNodes.forEach(element => {
element.parentElement.removeChild(element);
});
let base = document.createElement("base");
base.href = window.location.origin + window.location.pathname;
html.querySelector("head").appendChild(base);
let forceCopyWin = window.open("", "forceCopy");
forceCopyWin.document.documentElement.innerHTML = html.innerHTML;
})();
2018-05-06 01:13:35 +08:00
回复了 131 创建的主题 JavaScript PageGuard.js 防复制 + 检测开发者工具
javascript:(function() {
let html = document.documentElement.cloneNode(true);
let jsNodes = html.querySelectorAll("script");
jsNodes.forEach(element => {
element.parentElement.removeChild(element);
});
let forceCopyWin = window.open("", "force");
forceCopyWin.document.documentElement.innerHTML = html.innerHTML;
})();
@winglight2016 好话不妨说,坏事不妨做
2017-10-24 23:38:48 +08:00
回复了 liusd 创建的主题 macOS 1024 一年一度程序员节 有什么活动嘛?
今天很高兴(1024), 明天很悲伤(1025)
Simple Rtmp Server, Go/ Python 的目前没发现
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1046 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 22:55 · PVG 06:55 · LAX 15:55 · JFK 18:55
Developed with CodeLauncher
♥ Do have faith in what you're doing.