您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
让Infinity新标签页图标名称和背景色适配DarkReader
当前为
// ==UserScript== // @name Infinity新标签页图标名称/背景色适配DarkReader // @namespace https://github.com/iMortRex // @version 0.0.5 // @description 让Infinity新标签页图标名称和背景色适配DarkReader // @author Mort Rex // @run-at document-idle // @match https://inftab.com/ // @grant GM_addStyle // @license MIT // ==/UserScript== (function () { 'use strict'; if (window.getComputedStyle(document.getElementsByTagName('html')[0], null)['color-scheme'] == 'dark') { GM_addStyle('body {--icon-font-color: var(--darkreader-neutral-text) ! important}'); document.getElementsByClassName('wallpaper-mask')[0].style.cssText += 'background-color: #242424 ! important;'; } })();