Greasy Fork is available in English.

谷歌镜像网站广告屏蔽助手

屏蔽谷歌镜像网站上的广告

// ==UserScript==
// @name           谷歌镜像网站广告屏蔽助手
// @author         wusuluren
// @description    屏蔽谷歌镜像网站上的广告
// @require        http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js
// @match          *://google.uulucky.com/*
// @match          *://google.gccpw.cn/*
// @match          *://google.90h6.cn:1668/*
// @supportURL     https://github.com/Wusuluren
// @version        0.0.1
// @grant          None
// @namespace https://greasyfork.org/users/194747
// ==/UserScript==
(function () {
    'use strict';
    
    var timer1 = setInterval(function(){
      if($('#center_col > div:nth-child(5) > div:nth-child(1)')) {
          $('#center_col > div:nth-child(5) > div:nth-child(1)').remove();
          clearInterval(timer1)
       }   
    }, 10)
    var timer2 = setInterval(function(){
       if($('#rhs_block')) {
          $("#rhs_block").remove();
          clearInterval(timer2)
       }
    }, 10)
 
})();