Greasy Fork

Greasy Fork is available in English.

隐藏徽标

隐藏视频播放时出现的网站LOGO (支持:腾讯,爱奇艺,优酷,PP)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name                隐藏徽标
// @namespace           https://github.com/GuoChen-thlg
// @version             0.2.2
// @description         隐藏视频播放时出现的网站LOGO (支持:腾讯,爱奇艺,优酷,PP)
// @author              THLG
// @supportURL          [email protected]
// @contributionURL     https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CK755FJ9PSBZ8
// @contributionAmount  1
// @match               *://v.qq.com/*
// @match               *://*.iqiyi.com/*
// @match               *://v.youku.com/*
// @match               *://v.pptv.com/*
// @match               *://*.mgtv.com/*
// @grant               none
// @run-at              document-end
// ==/UserScript==
(function () {
    'use strict';
    var style = [
        "[data-role='txp-ui-watermark-mod']",
        ".txp-watermark",
        ".iqp-player [data-player-hook='logo'].iqp-logo-box",
        "#ykPlayer .youku-layer-logo",
        ".w-video #p-mark",

    ].join(',') + "{ display:none !important }"
    var n_style = document.createElement('style')
    n_style.innerHTML = style
    document.getElementsByTagName('head')[0].appendChild(n_style)
})();