中国电信网上大学知识中心考试工具(切屏 和 复制)

简单破解切屏监控 和 增加复制插件;当考试页面 "我要交卷" 变成 “(已破解)我要交卷” 时表示脚本已启用;复制:选择文字后会出现 “复制” 按钮, 点击 ‘复制’既复制选中的文本到粘贴板

// ==UserScript==
// @name         中国电信网上大学知识中心考试工具(切屏 和 复制)
// @icon         data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTM4IDc5LjE1OTgyNCwgMjAxNi8wOS8xNC0wMTowOTowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDowNEFBOTAwQTE5NkFFNDExODk0QkRFMzgwMkFFMjQ5OSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyMTQ0QzZENEI0RkYxMUVBQUVGQUE5RkZCRTgwNUYxOCIgeG1wTU06SW5zdG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YwCzhCjtVjhhYHN5w59ctoCtQcd8+0Kg4cTYryCaECAtZX2FuNYX4yOdZkN2nJbzzGq54rrE9iIAVxXoMvXLmq9NOvYrI9+tY0t9enZ5VM6Tbhz5owVcI3TlQA3ogDXFWzbmoWtV/2QO+WnfO6218Z2mZD28KRfouBepQDXBWx+8xuNSzmqYYvUxBxXj2GeKLBXOcBRql+io1MQBThKUYCjFAU4SlGAoxQFOEpRgKMUBTgKcJSiAEcpCnCUogBHKQpwlKIARykKcBTgKEUBjtK1R/9PgAEA58Xu9yONWQUAAAAASUVORK5CYII=
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  简单破解切屏监控 和 增加复制插件;当考试页面 "我要交卷" 变成 “(已破解)我要交卷” 时表示脚本已启用;复制:选择文字后会出现 “复制” 按钮, 点击 ‘复制’既复制选中的文本到粘贴板
// @author       zsa
// @match        https://kc.zhixueyun.com/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=zhixueyun.com
// @license      MIT
// @require      https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js
// @require      https://cdn.bootcdn.net/ajax/libs/clipboard.js/2.0.11/clipboard.min.js
// @grant        unsafeWindow
// ==/UserScript==


var $ =  unsafeWindow.jQuery || window.jQuery;
var Clipboard = window.ClipboardJS;

var getSelectedText = function () {
      if (window.getSelection)
          return window.getSelection().toString();
      if (document.getSelection)
          return document.getSelection().toString();
      if (document.selection)
          return document.selection.createRange().text;
      return "";
  };

var bindClipboardEvent = function (clipboard) {
      clipboard.on("success", function (e) {
          $("#_copy").html("复制成功");
          setTimeout(function () { return $("#_copy").fadeOut(1000); }, 1000);
          e.clearSelection();
      });
      clipboard.on("error", function (e) {
          $("#_copy").html("复制失败");
          setTimeout(function () { return $("#_copy").fadeOut(1000); }, 1000);
          e.clearSelection();
      });
  };

function unfreeze(){
  var sti = setInterval(()=>{
    if(document.body){
      clearInterval(sti);
      
      document.addEventListener("mouseup", function (e) {
          if($(e) == $("#_copy")){
            return;
          }
          $("#_copy").remove();
          var copyText = getSelectedText();
          if (!copyText)
              return "";
          var template = "\n            <div id=\"_copy\"\n            style=\"cursor:pointer;border-radius:5px;padding: 5px 10px;color: #FFF;background: red;position: absolute; z-index:1000;left:".concat(e.pageX + 30, "px;top:").concat(e.pageY, "px;\"\n            data-clipboard-text=\"").concat(copyText.replace(/"/g, "&quot;"), "\">\u590D\u5236</div>\n        ");
          $("body").append(template);
          $("#_copy").on("mousedown", function (event) { return event.stopPropagation(); });
          $("#_copy").on("mouseup", function (event) { return event.stopPropagation(); });
          var clipboard = new Clipboard("#_copy");
          bindClipboardEvent(clipboard);
      });
      
      var sti1 = setInterval(()=>{
        if($('a.w-half').length > 0){
          clearInterval(sti1);
          $('a.w-half').css({'background':'green'});
          $('a.w-half').prepend('<span>(已破解)</span>')
        }
     },100)
    }
  }, 100);
}


(function () {
  var url = window.location.hash;
  var urlStr = url.toString();
  
  // 进行页面判断 判断是在外面页面还是考试页面
  if (urlStr.match("/exam/exam/answer-paper/")) {
    unsafeWindow.onblur = null;
    Object.defineProperty(unsafeWindow, 'onblur', {
      set: function(v) {
        console.log('onblur',v)
      }
    });
    
    unfreeze();
  }
  
})();