您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Display an alert on your work environment for disambiguation
Display an alert on your development environment, so you can make the difference between your preproduction and production, for instance.
Refresh any webpage, then open the values stored by the userscript (in Violentmonkey: open the script's code and select the Values tab).
Then edit the environments
value.
Each environment is a JSON object with the following attributes:
hostname
: the domain name that matches the environmentname
: the name displayed for that environmentbackground
: the background color of the alert that will be displayed on the pages of the environmenttextColor
: the text color of the alert that will be displayed on the pages of the environment{
"environments": [
{
"hostname": "example.com",
"name": "Production",
"background": "red",
"textColor": "white"
}
]
}
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址