TMVN Match Event(CN Beta)

Trophymanager: show main events of the match. So you can easy research tactics of other clubs and your tactics rules happened as expected or not.

< Feedback on TMVN Match Event(CN Beta)

مراجعة: OK - script works, but has bugs

yymydyyمؤلف
§
Posted: 22-05-2024

建议将display函数的第二个divArea.box_body.mv_bottom改为content。这样可以在使用插件时自由切换上方标签(例如球场信息,交战记录等)。

function display() {
        if (mainEventHTML !== "" && $('.box_body.mv_bottom').length > 0) {
            if ($('.post_report').length > 0) {
                let divArea = $('.box_body.mv_bottom div.post_report')[0];
                divArea.innerHTML =divArea.innerHTML+
                    '<div class="mega_headline tcenter report_section_header dark_bg">主要事件</div><div><ul class="clean underlined large_padding">' +
                    mainEventHTML +
                    '</ul></div>'
                    ;
                clearInterval(myInterval);
            } else if (!pause) {
                let divArea = $('.content')[0];
                divArea.innerHTML =divArea.innerHTML+
                    '<div class="mega_headline tcenter report_section_header dark_bg">主要事件</div><div><ul class="clean underlined large_padding">' +
                    mainEventHTML +
                    '</ul></div>'
                    ;
                pause = true;
            }
        }
    }
})();
§
Posted: 22-05-2024

收到,感谢大佬提议。原版是越南玩家制作。

Post reply

تسجيل الدخول إلى مرحلة ما بعد الرد.