您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
NOADS
当前为
// ==UserScript== // @name HotPot.ai NOADS // @namespace Wizzergod // @version 1.0.4 // @description NOADS // @icon https://www.google.com/s2/favicons?sz=64&domain=hotpot.ai // @license MIT // @author Wizzergod // @match *://hotpot.ai/* // ==/UserScript== (function() { 'use strict'; // Объект с CSS стилями для скрытия элементов var styles = { 'article.internalAdBox': 'none', 'article:nth-of-type(1)': 'none', 'article:nth-of-type(2)': 'none', 'article:nth-of-type(3)': 'none', 'article:nth-of-type(4)': 'none', 'article:nth-of-type(5)': 'none', 'article:nth-of-type(6)': 'none', 'article:nth-of-type(7)': 'none', 'article:nth-of-type(8)': 'none', 'article:nth-of-type(9)': 'none', '#headerBox': 'none', '#rootGallery': 'none', '#apiAccess': 'none', '#rootFooter': 'none', '#disabled': 'none', '.disabled': 'none', '.topAdBox': 'none', '#.topAdBox': 'none', '.artMakerAdBox': 'none', '#artMakerAdBox': 'none', '#cookieOverlay': 'none', '#faq': 'none' }; function addHideStyles() { var style = document.createElement('style'); style.type = 'text/css'; var css = ''; for (var selector in styles) { css += selector + '{ display: ' + styles[selector] + ' !important; } '; } style.innerHTML = css; document.head.insertBefore(style, document.head.firstChild); } addHideStyles(); // Функция для скрытия элементов function hideElements() { for (var selector in styles) { var elements = document.querySelectorAll(selector); elements.forEach(function(element) { element.style.display = styles[selector]; }); } } // Запуск функции при загрузке страницы window.addEventListener('load', hideElements); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址