杀死水印(Kill Watermark)

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

目前为 2024-06-29 提交的版本。查看 最新版本

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

QingJ © 2025

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