add huatuo link for bits

将华佗的链接添加到bits平台

// ==UserScript==
// @name         add huatuo link for bits
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  将华佗的链接添加到bits平台
// @author       fuzhenjie@bytedance.com
// @match        https://bits.bytedance.net/devops/1500252674/code/detail/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=bytedance.net
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {

    const timer = setInterval(doInjection, 1000);
    function doInjection() {
        // console.log("fzj", 'content')
        const eleStr = `
    <div class="title-state-icon-btn-part" elementtiming="element-timing"><span class="arco-link" elementtiming="element-timing" style="height: 24px; width: 24px; padding: 0px; display: flex; justify-content: center; align-items: center; color: var(--bits-text-4); margin-left: 12px;"><img id="0808target" style="width:16px;height:16px" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAFJUtkEAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAA8KADAAQAAAABAAAA8AAAAAD2IAjxAAA380lEQVR4Ae09B5gURdavZ2dzgGWju0tQENQTEyCIOZ13iggn5nhiutM7vWMxgboKqMDi/aYzYbzTU1FRUcyKoqCCGTMqYXfdCMvmOP2/17s99M52z1T3VPf0zFZ933zdU139Yr+u6qpX70kQpBTOqvpKBnlskCZBL0kgrSlfknewXiMpsLJgVqUcWMfrf8WSfD8+/wkBtxOpSryK3I/YCaRa5AricJBmpkiw4eZcFWa/Y2FxVb86qrCMuLw0TxegXqUecq9ew2B1ZhAGg+MhkwnWQHvNClI9bgmml9VO9ZD+tqMbxs+r1dKmnFNbI4RqYyZRByIde2M1bGvWN/dp+yeFRErImRCrVNIxFCcvfN6mbW547jG8onMhFFKdWwyrTCEOFLkhVIYLEuvLwwzSdZs6YNrd24OiZ0asB6Uo0wO56XGw4u9D+lxmUYnph0vF8MttuZDo9b/q1eqQD5/a0BTisyYlw6IZGeq9cMX/dsCzn7I9xf6bek+YEWt1z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MB+KWBu7HjTTlrjNgPYGMLmnIbmlqOwljdh2F14/Cb+moDr6nx6Ooc4EEMFgcUvEOxpx6JyUt6cUfSzJqXUBVUBKiwoCDcoAXR5TISV2tVbvLXZ4xIPnGoL/2GFzGykPm0vFbOw178nT0eEnHpunoOSZiz4YSaBRfRz1T+odG1HMj9pyN+G1KwYTwHKpwzuUHkD0/SF7fD97kvJ82lUhRH8T6/wFD04fTwsz2IwAAAABJRU5ErkJggg==" /></span></div>
    `

    const container = document.querySelector(".title-status")
    const titleEle = document.querySelector(".title-text")
    if (container && container.childNodes.length === 2 && titleEle.innerHTML) {
        clearInterval(timer)
    } else {
        return;
    }

        const oldInnerHtml = container.getInnerHTML()

        container.innerHTML = oldInnerHtml + eleStr

        setTimeout(async () => {
            const targetElement = document.getElementById("0808target")
            const iid = await getCodebaseMrId()
            targetElement.addEventListener("click", function () {
                window.open(`https://ehome.bytedance.net/huatuo/coverage-list?projectId=1301&mrId=${iid}`, '_blank');
            })
        }, 500)

    }


    function getCodebaseMrId() {
        const p = location.pathname;
        const mr_id = p.split('/').pop();
        return new Promise((resolve, reject) => {
            var xhr = new XMLHttpRequest();


            xhr.open('GET', `https://cloudapi.bytedance.net/faas/services/ttg9wf/invoke/convertMrId?mr_id=${mr_id}`, true);

            xhr.setRequestHeader('Content-Type', 'application/json');


            xhr.onload = function (data) {
                console.log('Debug fzj 08-08', data);
                if (xhr.status === 200) {
                    var response = xhr.responseText;
                    // console.log(response);
                    //const res = JSON.parse(response);
                    //const iid = res.data.iid;
                    resolve(response);
                } else {
                    console.error('请求失败。状态码:' + xhr.status);
                    reject(-1);
                }
            };

            xhr.onerror = function (e) {
                // 处理错误
                console.e('Debug fzj 08-08', e);
                reject(-1);
            };

            xhr.send();
        })

    }
})();