// ==UserScript==
// @name 殁漂遥暗号
// @namespace ACScript
// @version 1.2020.4.21
// @description 半自动填暗号,文本变链接,去除复制弹窗
// @author 小殁
// @include *://www.mpyit.com/*
// @grant none
// @run-at document-end
// @downloadURL none
// ==/UserScript==
//半自动填暗号
(function() {
setTimeout(function(){
document.querySelector("#comein").value = "1052"
}, 1000);
//去除复制弹窗
(function() {
document.body.oncopy=null;void(0);
})();
//文本变链接
document.onclick = function(e) {
var link = /((https?:\/\/)(\.|\w|-|#|\?|=|\/|\+|@|%|&|:|;|!|\*|(?![\u4e00-\u9fa5\s*\n\r'"]))+)/g;
if (!e.target.innerHTML.match(/ 4) {
e.target.innerHTML = e.target.innerHTML.replace(link ,'$1');
}
};
})();