您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
解除复制限制-复制粘贴去掉小尾巴
当前为
// ==UserScript== // @name A姐分享 页面优化 // @namespace https://greasyfork.org/en/scripts/443351 // @version 0.4 // @description 解除复制限制-复制粘贴去掉小尾巴 // @match https://www.abskoop.com/*/ // @match https://www.ahhhhfs.com/*/ // @icon https://www.abskoop.com/wp-content/uploads/2021/07/1625221481-04bb5153c0db541-192x192.webp // @require https://unpkg.com/jquery/dist/jquery.slim.min.js // @grant none // @license MIT // ==/UserScript== (function() { [...document.querySelectorAll('*')].forEach(item=>{ item.oncopy = function(e) { e.stopPropagation(); } }); $('body').css("cssText", "-moz-user-select: auto !important; -webkit-user-select: auto !important; -ms-user-select: auto !important; -khtml-user-select: auto !important; user-select: auto !important") setInterval(function () { if (document.ondragstart !== null) document.ondragstart = null if (document.onselectstart !== null) document.onselectstart = null if (document.onbeforecopy !== null) document.onbeforecopy = null if (document.onmouseup !== null) document.onmouseup = null if (document.onselect !== null) document.onselect = null if (document.oncopy !== null) document.oncopy = null }, 500) })();