杀死水印(Kill Watermark)

杀死水印(移除烦人的水印,还你一个干净清爽的页面);已适配360 智脑、腾讯文档、飞书、FreeBuf 网络安全行业门户、稿定设计、爱奇艺播放页(右上角 logo、暂停时的广告)、腾讯课堂播放页漂浮水印、哔哩哔哩直播左上角 logo、CSDN C 知道、腾讯视频播放页(右上角 logo、暂停时的弹窗广告)、优酷视频播放页(右上角 logo、暂停时的弹窗广告)、语雀

目前为 2024-01-14 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name 杀死水印(Kill Watermark)
  3. // @description 杀死水印(移除烦人的水印,还你一个干净清爽的页面);已适配360 智脑、腾讯文档、飞书、FreeBuf 网络安全行业门户、稿定设计、爱奇艺播放页(右上角 logo、暂停时的广告)、腾讯课堂播放页漂浮水印、哔哩哔哩直播左上角 logo、CSDN C 知道、腾讯视频播放页(右上角 logo、暂停时的弹窗广告)、优酷视频播放页(右上角 logo、暂停时的弹窗广告)、语雀
  4. // @namespace maomao1996.kill-watermark
  5. // @version 0.9.2
  6. // @author maomao1996
  7. // @homepage https://github.com/maomao1996/tampermonkey-scripts
  8. // @supportURL https://github.com/maomao1996/tampermonkey-scripts/issues
  9. // @license MIT
  10. // @match *://*.gaoding.com/*
  11. // @match *://v.qq.com/x/cover/*
  12. // @match *://www.iqiyi.com/*
  13. // @match *://v.youku.com/*
  14. // @match *://live.bilibili.com/*
  15. // @match *://ke.qq.com/course/*
  16. // @match *://*.yuque.com/*
  17. // @match *://docs.qq.com/*
  18. // @match *://so.csdn.net/*
  19. // @match *://*.feishu.cn/*
  20. // @match *://chat.360.com/*
  21. // @grant GM_addStyle
  22. // ==/UserScript==
  23. !function() {
  24. "use strict";
  25. var t = "undefined" != typeof window;
  26. var e = [ "360 \u667a\u8111", "chat.360.com", {
  27. style: '#nworld-app-container div>div[style*=pointer-events][style*="data:image/"]{display:none!important}'
  28. } ], o = [ "\u817e\u8baf\u6587\u6863", "docs.qq.com", {
  29. style: ".watermark-bg-wrapper{display:none!important}"
  30. } ], r = [ "\u98de\u4e66", "feishu.cn", {
  31. style: ".print-watermark[style],.ssrWaterMark[style],.suite-clear[style]{display:none!important;height:0!important;width:0!important}"
  32. } ], n = [ "FreeBuf \u7f51\u7edc\u5b89\u5168\u884c\u4e1a\u95e8\u6237", "freebuf.com", {
  33. script: function() {
  34. document.querySelectorAll("img[large]").forEach((function(t) {
  35. var e = t.getAttribute("large");
  36. e && t.src !== e && (t.src = e);
  37. }));
  38. }
  39. } ], i = [ "\u7a3f\u5b9a\u8bbe\u8ba1", "gaoding.com", {
  40. style: '.editor-canvas div[style*="pointer-events: none !important"][style*="visibility: visible !important"][style*=background]{clip-path:circle(0)!important}'
  41. } ], a = [ "\u7231\u5947\u827a\u64ad\u653e\u9875\uff08\u53f3\u4e0a\u89d2 logo\u3001\u6682\u505c\u65f6\u7684\u5e7f\u544a\uff09", "iqiyi.com", {
  42. style: ".iqp-logo-bottom,.iqp-logo-box,.iqp-logo-top,iqpdiv.flash-max{display:none!important}iqpdiv.iqp-player-videolayer{height:100%!important;left:auto!important;top:auto!important;width:100%!important}"
  43. } ], l = [ "\u817e\u8baf\u8bfe\u5802\u64ad\u653e\u9875\u6f02\u6d6e\u6c34\u5370", "ke.qq.com", {
  44. style: '#loki-player div[style*="position: absolute;"]{display:none!important}'
  45. } ], s = [ "\u54d4\u54e9\u54d4\u54e9\u76f4\u64ad\u5de6\u4e0a\u89d2 logo", "live.bilibili.com", {
  46. style: ".web-player-icon-roomStatus{opacity:0!important}"
  47. } ], p = [ "CSDN C \u77e5\u9053", "so.csdn.net", {
  48. style: ".username_mask_cover[style]{display:none!important}"
  49. } ], u = [ "\u817e\u8baf\u89c6\u9891\u64ad\u653e\u9875\uff08\u53f3\u4e0a\u89d2 logo\u3001\u6682\u505c\u65f6\u7684\u5f39\u7a97\u5e7f\u544a\uff09", "v.qq.com", {
  50. style: "txpdiv.txp-watermark{opacity:0!important}[data-role=creative-player-pause-layer]{display:none!important}"
  51. } ], y = [ "\u4f18\u9177\u89c6\u9891\u64ad\u653e\u9875\uff08\u53f3\u4e0a\u89d2 logo\u3001\u6682\u505c\u65f6\u7684\u5f39\u7a97\u5e7f\u544a\uff09", "v.youku.com", {
  52. style: "watermark-layer{opacity:0!important}#youku-pause-container{display:none!important}"
  53. } ], c = [ "\u8bed\u96c0", "yuque.com", {
  54. style: "#main>div.wm{display:none!important}"
  55. } ], m = Object.freeze({
  56. __proto__: null,
  57. chat360Com: e,
  58. docsQqCom: o,
  59. feishuCn: r,
  60. freebufCom: n,
  61. gaodingCom: i,
  62. iqiyiCom: a,
  63. keQqCom: l,
  64. liveBilibiliCom: s,
  65. soCsdnNet: p,
  66. vQqCom: u,
  67. vYoukuCom: y,
  68. yuqueCom: c
  69. });
  70. function d(t, e) {
  71. (null == e || e > t.length) && (e = t.length);
  72. for (var o = 0, r = new Array(e); o < e; o++) r[o] = t[o];
  73. return r;
  74. }
  75. function f(t, e) {
  76. return function(t) {
  77. if (Array.isArray(t)) return t;
  78. }(t) || function(t, e) {
  79. var o = null == t ? null : "undefined" != typeof Symbol && t[Symbol.iterator] || t["@@iterator"];
  80. if (null != o) {
  81. var r, n, i = [], a = !0, l = !1;
  82. try {
  83. for (o = o.call(t); !(a = (r = o.next()).done) && (i.push(r.value), !e || i.length !== e); a = !0) ;
  84. } catch (t) {
  85. l = !0, n = t;
  86. } finally {
  87. try {
  88. a || null == o.return || o.return();
  89. } finally {
  90. if (l) throw n;
  91. }
  92. }
  93. return i;
  94. }
  95. }(t, e) || function(t, e) {
  96. if (!t) return;
  97. if ("string" == typeof t) return d(t, e);
  98. var o = Object.prototype.toString.call(t).slice(8, -1);
  99. "Object" === o && t.constructor && (o = t.constructor.name);
  100. if ("Map" === o || "Set" === o) return Array.from(o);
  101. if ("Arguments" === o || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return d(t, e);
  102. }(t, e) || function() {
  103. throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  104. }();
  105. }
  106. var v = function() {
  107. var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : location.hostname;
  108. return t ? e.replace(/^www\./, "") : "";
  109. }(), g = Object.values(m).find((function(t) {
  110. var e = f(t, 2)[1];
  111. return "string" == typeof e ? v.includes(e) : e.test(v);
  112. }));
  113. if (g) {
  114. var b = g[2], h = b.style, q = b.script;
  115. h && GM_addStyle(h), "function" == typeof q && q();
  116. }
  117. }();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址