您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
There are no bad fossils.
当前为
- // ==UserScript==
- // @name 🙈See no evil🙈
- // @namespace http://tampermonkey.net/
- // @version 2025-03-14
- // @description There are no bad fossils.
- // @author Marlex
- // @match https://elethor.com/*
- // @icon https://www.google.com/s2/favicons?sz=64&domain=elethor.com
- // @grant GM_addStyle
- // @license MIT
- // ==/UserScript==
- (function() {
- 'use strict';
- const observer = new MutationObserver(() => {
- console.log('Page change detected.');
- if (window.location.pathname === '/mine/fossils') {
- GM_addStyle(".border-amber-400 {display: none !important;} .border-gray-400 {display: none !important;} .border-green-400 {display: none !important;} .border-sky-400 {display: none !important;} .border-purple-400 {display: none !important;}");
- } else {
- GM_addStyle(".border-amber-400 {display: flex !important;} .border-gray-400 {display: flex !important;} .border-green-400 {display: flex !important;} .border-sky-400 {display: flex !important;} .border-purple-400 {display: flex !important;}");
- }})
- observer.observe(document.body, { childList: true, subtree: true });
- })();