您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Plint header color based on development
当前为
// ==UserScript== // @name Plint change header between testing and production // @description Plint header color based on development // @namespace http://tampermonkey.net/ // @license MIT // @version 0.1 // @author Paul Egell-Johnsen // @match https://*.plint.dev/* // @match https://*.plint.app/* // @icon https://www.google.com/s2/favicons?sz=64&domain=plint.dev // @grant GM_addStyle // ==/UserScript== (function() { 'use strict'; const mainNavbar = document.getElementById('main-navbar'); const div = document.createElement('div'); div.style.setProperty('font-size','2em'); if (location.href.match(/nrk-1-core.test.plint.dev/gi)) { div.innerText = 'Testing'; GM_addStyle ( ` #main-navbar { background-color: #66ff66; } ` ); } if (location.href.match(/nrk.plint.app/gi)) { div.innerText = 'Production'; GM_addStyle ( ` #main-navbar { background-color: #ff6666; } ` ); } mainNavbar.appendChild( div ); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址