Greasy Fork is available in English.

gying去广告

gying去广告,需要在加载页面手动刷新

// ==UserScript==
// @name         gying去广告
// @namespace    http://tampermonkey.net/
// @version      7.0
// @description  gying去广告,需要在加载页面手动刷新
// @author       M&W
// @match        https://www.btnull.org/*
// @match        https://www.gying.net/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @include      *//www.gying.*
// @include      *//www.btnull.*
// @grant        none
// ==/UserScript==

window.onload = function() {
    'use strict';
    console.log("开始运行脚本!")
    for (var i = 0; i < 3; i++){
      setTimeout(function(){
         document.querySelectorAll("div[id$=right]").forEach(item=>{
             if(item.id != 'play_right'){
                 item.remove();
             }
         })
        if (document.querySelector("div[id$=left]")) {
            console.log("删除左边广告")
            document.querySelector("div[id$=left]").remove();
        }
      },100);
    }
     console.log("定时器设置完毕!")
    // Your code here...
};