您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
给风之动漫去广告+优化,主要是我自己看海贼王用的
// ==UserScript== // @name 风之动漫去广告+优化 // @namespace http://tampermonkey.net/ // @version 0.3 // @description 给风之动漫去广告+优化,主要是我自己看海贼王用的 // @author WindErosion // @match https://manhua.fffdm.com/* // @match https://www.fffdm.com/ // @require https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js // @icon https://s3.bmp.ovh/imgs/2021/11/936852f503b6fd78.png // @grant none // ==/UserScript== let loca1 = RegExp("https://manhua.fffdm.com/*"); let loca2 = RegExp("https://www.fffdm.com/"); (function() { 'use strict'; if(loca1.test(location.href) || loca2.test(location.href)){ document.head.insertAdjacentHTML('beforeend','<style>#HMRichBox,#pop_ad,#HMCOVER_ID1{display:none !important;}</style>'); document.head.insertAdjacentHTML('beforeend','<style>#fix_top_dom{display:none !important;}</style>'); document.head.insertAdjacentHTML('beforeend','<style>#HMimageleft,#HMimageright{display:none !important;}</style>'); //document.head.insertAdjacentHTML('beforeend','<style>.pure-g{display:none !important;}</style>'); document.head.insertAdjacentHTML('beforeend','<style>center{display:none !important;}</style>'); document.head.insertAdjacentHTML('beforeend','<style>.mdc-snackbar__surface{display:none !important;}</style>'); //$("#mdc-snackbar").hidden(); document.head.insertAdjacentHTML('beforeend','<style>#header{position:relative !important;}</style>'); } })();