Greasy Fork is available in English.
自动填写老殁暗号,文本变链接,去广告,去推广
当前为
// ==UserScript==
// @name 殁漂遥暗号
// @namespace ACScript
// @version 0.8
// @description 自动填写老殁暗号,文本变链接,去广告,去推广
// @author 狐狸
// @include *://www.mpyit.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
//自动填暗号
(function() {
setTimeout(function(){
document.querySelector("#verifycode").value = "暗号"
}, 1000);
//去除canvas线条
(function() {
$("#c_n15").remove();
$("#c_n16").remove();
$("#c_n17").remove();
$("#c_n18").remove();
$("#c_n19").remove();
$("#c_n20").remove();
//过滤顶部推广app
$(".post-45099").remove();
$("#post-99999").remove();
$("#post-99999").remove();
$("#post-99999").remove();
//过滤顶部超大banner
$("#playBox").remove();
})();
//去除复制提示
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(/<a/) && e.target.innerText.match(link) && e.path.length > 4) {
e.target.innerHTML = e.target.innerHTML.replace(link ,'<a target="_blank" href="$1" style="text-decoration:underline;">$1</a>');
}
};
})();