您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Remove the donation footer on Udrob.com
- // ==UserScript==
- // @name Remove Udrob Footer
- // @namespace http://tampermonkey.net/
- // @version 1.0
- // @description Remove the donation footer on Udrob.com
- // @author WnB
- // @match *://*.udrob.com/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- // Fonction pour supprimer l'élément avec l'id "footer"
- function removeFooter() {
- const footerElement = document.getElementById('footer');
- if (footerElement) {
- footerElement.remove();
- }
- }
- // Attendre que la page soit complètement chargée
- window.addEventListener('load', removeFooter);
- // Au cas où le contenu est chargé dynamiquement après la page
- const observer = new MutationObserver(removeFooter);
- observer.observe(document.body, { childList: true, subtree: true });
- })();