您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically removes specific elements and ads if the website has a specific logo image.
// ==UserScript== // @name Now.gg Ads Remover // @namespace http://tampermonkey.net/ // @version 0.5 // @description Automatically removes specific elements and ads if the website has a specific logo image. // @author UniverseDev // @license GPL-3.0-or-later // @match *://*/* // @icon https://www.google.com/s2/favicons?domain=https://now.gg/&sz=256 // @grant none // ==/UserScript== (function() { 'use strict'; const elementSelector = 'div.sc-19c21da7-0.dgAMyI'; const adContainerSelector = 'div#div-ad-app-page-leaderboard-container'; function removeElements() { document.querySelectorAll(elementSelector).forEach(el => el.remove()); const adContainer = document.querySelector(adContainerSelector); if (adContainer) adContainer.remove(); } function checkForLogoAndRun() { const logoImg = document.querySelector('img#ng-logo.ngg-logo'); if (logoImg && logoImg.src.includes("nowgg-logo.2eda3eaf.svg")) { removeElements(); } } window.addEventListener('load', checkForLogoAndRun); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址