🎉 欢迎访问GreasyFork镜像站!本站由公众号【爱吃馍】维护。 联系邮箱📮
💡 当前页面为缓存版本 (获取时间: 2025/12/22 07:13:03)。新内容正在后台静默同步中...

Greasy fork 爱吃馍镜像

vue ad remove

try to take over the world!

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

安装遇到问题?关注公众号【爱吃馍】获取帮助

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

安装遇到问题?关注公众号【爱吃馍】获取帮助

// ==UserScript==
// @name         vue ad remove
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  try to take over the world!
// @author       huozi
// @include      https://cn.vuejs.org/*
// @match        https://cn.vuejs.org/
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var gg = document.getElementById('sidebar-sponsors-special');
    var ad = document.getElementById('ad');
    var ads = document.getElementsByClassName('ad-pagetop');
    gg.parentNode.removeChild(gg);
    ad.parentNode.removeChild(ad);
    for (var i = 0; i < ads.length; i++) {
    	ad = ads[i];
    	ad.parentNode.removeChild(ad);
    }
    // Your code here...
})();