阿里云批量删除自定义序列

阿里云自定义序列批量删除

目前為 2019-10-25 提交的版本,檢視 最新版本

// ==UserScript==
// @name         阿里云批量删除自定义序列
// @namespace    http://blog.shiyunjin.com/
// @version      0.1
// @description  阿里云自定义序列批量删除
// @author       You
// @match        https://cloudmonitor.console.aliyun.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    $("h5:contains('自定义监控')").html('自定义监控 <a href="javascript:document.deleteAll_monitor()">删除选中序列</a>');
})();

document.deleteAll_monitor = () => {
    $("input:checked").parent().parent().find("a:contains('删除')").click();
}