您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Automatically switch to Tagged Objects if no SubTags exist in BlueCat Address Manager
当前为
- // ==UserScript==
- // @name BlueCat Address Manager Auto-Switch to Tagged Objects
- // @namespace *
- // @description Automatically switch to Tagged Objects if no SubTags exist in BlueCat Address Manager
- // @include */app*
- // @exclude */app*sp=ScontextId%3Dtag
- // @license MIT
- // @version 2
- // @grant none
- // @copyright 2018, Marius Galm
- // @license MIT
- // @icon https://www.bluecatnetworks.com/wp-content/uploads/2018/03/cropped-bluecat-favicon-50x50.png
- // ==/UserScript==
- // Exclude Pattern will prevent endless loop :-)
- if (document.readyState === "interactive" ) {
- var page = document.childNodes[2].nodeValue;
- if (/ Page: Tags /.test(page)) {
- if (document.getElementsByClassName("empty-table").length === 1) {
- document.getElementById("contextTabLink_1").click();
- }
- }
- }