Greasy Fork

Greasy Fork is available in English.

杀死水印

杀死水印(移除烦人的水印,还你一个干净清爽的页面);已适配稿定设计、腾讯视频、爱奇艺、优酷、哔哩哔哩直播、腾讯课堂、语雀、腾讯文档

当前为 2023-10-12 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        杀死水印
// @description 杀死水印(移除烦人的水印,还你一个干净清爽的页面);已适配稿定设计、腾讯视频、爱奇艺、优酷、哔哩哔哩直播、腾讯课堂、语雀、腾讯文档
// @namespace   maomao1996.kill-watermark
// @version     0.3.0
// @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/*
// @grant       GM_addStyle
// ==/UserScript==
(function() {
  "use strict";
  var r = ".watermark-bg-wrapper{display:none!important}";
  var t = ".editor-watermark{display:none!important;filter:opacity(0)!important;z-index:-1996!important}";
  var a = ".iqp-logo-bottom,.iqp-logo-box,.iqp-logo-top{display:none!important}";
  var e = '#loki-player div[style*="position: absolute;"]{display:none!important}';
  var o = ".web-player-icon-roomStatus{opacity:0!important}";
  var i = "txpdiv.txp-watermark{opacity:0!important}txpdiv[data-role=creative-player-pause-layer]{display:none!important}";
  var n = "watermark-layer{opacity:0!important}";
  var l = "#main>div.wm{display:none!important}";
  var y = [ [ "docs.qq.com", r ], [ "gaoding.com", t ], [ "iqiyi.com", a ], [ "ke.qq.com", e ], [ "live.bilibili.com", o ], [ "v.qq.com", i ], [ "v.youku.com", n ], [ "yuque.com", l ] ];
  function _array_like_to_array(r, t) {
    if (t == null || t > r.length) t = r.length;
    for (var a = 0, e = new Array(t); a < t; a++) e[a] = r[a];
    return e;
  }
  function _array_with_holes(r) {
    if (Array.isArray(r)) return r;
  }
  function _iterable_to_array_limit(r, t) {
    var a = r == null ? null : typeof Symbol !== "undefined" && r[Symbol.iterator] || r["@@iterator"];
    if (a == null) return;
    var e = [];
    var o = true;
    var i = false;
    var n, l;
    try {
      for (a = a.call(r); !(o = (n = a.next()).done); o = true) {
        e.push(n.value);
        if (t && e.length === t) break;
      }
    } catch (r) {
      i = true;
      l = r;
    } finally {
      try {
        if (!o && a["return"] != null) a["return"]();
      } finally {
        if (i) throw l;
      }
    }
    return e;
  }
  function _non_iterable_rest() {
    throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
  }
  function _sliced_to_array(r, t) {
    return _array_with_holes(r) || _iterable_to_array_limit(r, t) || _unsupported_iterable_to_array(r, t) || _non_iterable_rest();
  }
  function _unsupported_iterable_to_array(r, t) {
    if (!r) return;
    if (typeof r === "string") return _array_like_to_array(r, t);
    var a = Object.prototype.toString.call(r).slice(8, -1);
    if (a === "Object" && r.constructor) a = r.constructor.name;
    if (a === "Map" || a === "Set") return Array.from(a);
    if (a === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)) return _array_like_to_array(r, t);
  }
  var u = location.hostname;
  var _ = y.find((function(r) {
    var t = _sliced_to_array(r, 1), a = t[0];
    return u.includes(a);
  }));
  if (_) {
    var p = _sliced_to_array(_, 2), c = p[1];
    c && GM_addStyle(c);
  }
})();