顯示MMPage的marketline id
当前为
// ==UserScript==
// @name GMM MMPage show marketline
// @namespace http://tampermonkey.net/
// @version 0.1
// @description 顯示MMPage的marketline id
// @author You
// @include *://localhost:8899/MarketManagement/*
// @include *://gmmweb.avabet.com/MarketManagement/*
// @include *://adcontrol.sb.com/MarketManagement/*
// @grant none
// @run-at document-end
// ==/UserScript==
(function() {
$('.search-panel >ul').prepend('<li><input type="button" id="ShowAllMarketLine" value="ML ID" class="btn_release" ></li>');
$( "#ShowAllMarketLine" ).click(function() {
var enable = $(".showMlId").length == 0;
//將marketline id加到html中
if(enable){
var pauseDiv = $(".pause").filter(function() {
return $(this).attr("actionsrc") === "MarketLineStatusControl.js" ;
});
pauseDiv.each(function(i, obj) {
$(this).parent().prepend("<span class='showMlId' style = 'background:#c9e1f6'>"+$(obj).attr("id").match(/\d+/)[0]+"</span>");
});
}else{
$(".showMlId").remove();
}
});
})();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址