您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
🔥超星学习通考试解除禁止复制、禁止粘贴🔥
当前为
// ==UserScript== // @name 超星学习通考试解除禁止复制、禁止粘贴 // @namespace http://tampermonkey.net/ // @version 0.17 // @description 🔥超星学习通考试解除禁止复制、禁止粘贴🔥 // @author CHENL // @include *chaoxing.com/exam/* // @include *chaoxing.com/mooc2/exam/* // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== // @grant none // ==/UserScript== (function() { 'use strict'; $(function() { setTimeout(()=>{ $("body").removeAttr("onselectstart"); $("html").css("user-select", "unset"); UE.EventBase.prototype.fireEvent = function() { return null }; }, 1000); if(window.location.href.includes("newMooc=true")){ $("<div style='background: #86b430;display:inline;border: solid 1px #6f8e30;color: #FFF;padding: 2px 10px;cursor: pointer;' onclick='copyContentNew(event)'>复制题目</div>").insertAfter($(".colorShallow")) }else{ $("<div style='background: #86b430;display:inline;border: solid 1px #6f8e30;color: #FFF;padding: 2px 10px;cursor: pointer;' onclick='copyContentOld(event)'>复制题目</div>").insertAfter($(".Cy_TItle").find("p")) } window.copyContentOld = function(event) { setTimeout(()=>{ var range = document.createRange(); var selection = window.getSelection(); selection.removeAllRanges(); range.selectNodeContents($(event.srcElement.parentNode).find("p")[0]); selection.addRange(range); document.execCommand('copy'); selection.removeAllRanges(); let tips = $("<span style='color:red'>复制成功</span>").appendTo($(event.srcElement.parentNode)); setTimeout(()=>{ tips.remove(); }, 1000) }, 1000) } window.copyContentNew = function(event) { setTimeout(()=>{ var range = document.createRange(); var selection = window.getSelection(); selection.removeAllRanges(); range.selectNodeContents($(event.srcElement.nextSibling)[0]); selection.addRange(range); document.execCommand('copy'); selection.removeAllRanges(); let tips = $("<span style='color:red'>复制成功</span>").insertAfter($(event.srcElement)); setTimeout(()=>{ tips.remove(); },1000) },1000) } }) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址