您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Modify the AWS service names to not include "Amazon" or "AWS"
// ==UserScript== // @name Modify AWS console service names // @namespace https://gf.qytechs.cn/en/users/321441-david-cuthbert // @version 0.2 // @description Modify the AWS service names to not include "Amazon" or "AWS" // @author David Cuthbert ([email protected]) // @match https://*.console.aws.amazon.com/* // @grant none // @run-at document-body // @require http://code.jquery.com/jquery-3.4.1.slim.min.js // @license Apache-2.0 // ==/UserScript== /* global jQuery */ (function() { 'use strict'; let mezz_data = jQuery("meta[name='awsc-mezz-data']"); if (! mezz_data) { console.log("meta tag with name=\"awsc-mezz-data\" not found"); return; } let content = JSON.parse(mezz_data.attr("content")); for (let service of content.services) { if (! service.label) { continue; } if (service.label.startsWith("AWS ")) { service.label = service.label.substring(4); } else if (service.label.startsWith("Amazon ")) { service.label = service.label.substring(7); } } mezz_data.attr("content", JSON.stringify(content)); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址