Greasy Fork is available in English.

Userstyles.org去广告

try to take over the world!

2020-07-26 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

// ==UserScript==
// @name         Userstyles.org去广告
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  try to take over the world!
// @author       AN drew
// @match        https://userstyles.org/*
// @require      https://cdn.bootcdn.net/ajax/libs/jquery/3.1.1/jquery.min.js
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    setInterval(function(){
        $(".overlay_background").hide();
        $(".android_button_button").hide();
        $(".android_button_banner").hide();
        $("#top_android_button").hide();
        $(".fallbackDiv").parent().hide();
        $(".GoogleActiveViewElement").hide();

        $(".adContainer").each(function(){
             if($(this).parent().hasClass("us-stylecard--short") || $(this).parent().hasClass("us-stylecard--long"))
                 $(this).parent().hide();
            else
                $(this).hide();
        })

    },1)
})();