// ==UserScript== // @name 杀死水印(Kill Watermark) // @description 杀死水印(移除烦人的水印,还你一个干净清爽的页面);已适配稿定设计、腾讯视频、爱奇艺、优酷、哔哩哔哩直播、腾讯课堂、语雀、腾讯文档、CSDN C 知道、飞书 // @namespace maomao1996.kill-watermark // @version 0.5.1 // @author maomao1996 // @homepage https://github.com/maomao1996/tampermonkey-scripts // @supportURL https://github.com/maomao1996/tampermonkey-scripts/issues // @license MIT // @match *://*.gaoding.com/* // @match *://v.qq.com/x/cover/* // @match *://www.iqiyi.com/* // @match *://v.youku.com/* // @match *://live.bilibili.com/* // @match *://ke.qq.com/course/* // @match *://*.yuque.com/* // @match *://docs.qq.com/* // @match *://so.csdn.net/so/* // @match *://*.feishu.cn/* // @grant GM_addStyle // @downloadURL none // ==/UserScript== !function() { "use strict"; var t = [ [ "docs.qq.com", ".watermark-bg-wrapper{display:none!important}" ], [ "feishu.cn", ".print-watermark[style],.ssrWaterMark[style],.suite-clear[style]{display:none!important;height:0!important;width:0!important}" ], [ "gaoding.com", ".editor-watermark{display:none!important;filter:opacity(0)!important;z-index:-1996!important}" ], [ "iqiyi.com", ".iqp-logo-bottom,.iqp-logo-box,.iqp-logo-top{display:none!important}" ], [ "ke.qq.com", '#loki-player div[style*="position: absolute;"]{display:none!important}' ], [ "live.bilibili.com", ".web-player-icon-roomStatus{opacity:0!important}" ], [ "so.csdn.net", ".username_mask_cover[style]{display:none!important}" ], [ "v.qq.com", "txpdiv.txp-watermark{opacity:0!important}[data-role=creative-player-pause-layer]{display:none!important}" ], [ "v.youku.com", "watermark-layer{opacity:0!important}" ], [ "yuque.com", "#main>div.wm{display:none!important}" ] ]; function r(t, r) { (null == r || r > t.length) && (r = t.length); for (var n = 0, o = new Array(r); n < r; n++) o[n] = t[n]; return o; } function n(t, n) { return function(t) { if (Array.isArray(t)) return t; }(t) || function(t, r) { var n = null == t ? null : "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"]; if (null != n) { var o, e, a = [], i = !0, l = !1; try { for (n = n.call(t); !(i = (o = n.next()).done) && (a.push(o.value), !r || a.length !== r); i = !0) ; } catch (t) { l = !0, e = t; } finally { try { i || null == n.return || n.return(); } finally { if (l) throw e; } } return a; } }(t, n) || function(t, n) { if (!t) return; if ("string" == typeof t) return r(t, n); var o = Object.prototype.toString.call(t).slice(8, -1); "Object" === o && t.constructor && (o = t.constructor.name); if ("Map" === o || "Set" === o) return Array.from(o); if ("Arguments" === o || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return r(t, n); }(t, n) || function() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }(); } var o = location.hostname, e = t.find((function(t) { var r = n(t, 1)[0]; return o.includes(r); })); if (e) { var a = n(e, 2)[1]; a && GM_addStyle(a); } }();