function template() { if (window.location.href.contains(/[]/)) { // 标题和右边的链接 const $cont_title = document.querySelector('.content-title'); initOB($cont_title, {childList: true, subtree: true}, () => { titleTrans(); contentTitleLinksTrans(); }); return; } }