您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
try to take over the world!
// ==UserScript== // @name 腾讯视频去掉logo // @namespace http://tampermonkey.net/ // @version 0.2 // @description try to take over the world! // @author pobc // @license GPL License // @match https://v.qq.com/x/cover/5s6jjhvb15xrm59.html?ptag=10528 // @grant none // ==/UserScript== (function() { 'use strict'; window.hideLogTryTimes = 0; waitForElementToDisplay('.txp_waterMark_pic',2000); // Your code here... })(); function waitForElementToDisplay(selector, time) { if(document.querySelector(selector)!=null ||window.hideLogTryTimes>=3) { document.querySelectorAll(".txp_waterMark_pic").forEach(function(item,index,arr){item.style.display='none';}); return; } else { window.hideLogTryTimes++; setTimeout(function() { waitForElementToDisplay(selector, time); }, time); } }