您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Sets the safari top bar to constant color. Good for distinct different safari profiles
// ==UserScript== // @name Safari Bar Color Theme // @version 1 // @description Sets the safari top bar to constant color. Good for distinct different safari profiles // @license MIT // @author @tomereliel0 // @include * // @grant none // @namespace https://greasyfork.org/users/1465491 // ==/UserScript== const theme = document.querySelector('meta[name="theme-color"]'); if (theme) theme.remove(); const meta = document.createElement('meta'); meta.name = 'theme-color'; meta.content = '#DABF74'; //Desired Theme Color document.head.appendChild(meta);