diff --git a/tieba page.js b/tieba page.js index f6bc8d9..973b12d 100644 --- a/tieba page.js +++ b/tieba page.js @@ -480,6 +480,12 @@ location.href = '/mo/q/msg'; } + + if (ev.target.tagName === 'A' && ev.target.className === 'item comment itemonly') { + ev.stopPropagation(); + ev.preventDefault(); + } + if (ev.target.classList.contains('j_new_header_reply')) { F.use('spb/widget/normal_post_list', function (threadList) { let x = new threadList(window.conxx); @@ -494,6 +500,16 @@ if (ev.target.classList.contains('user_name')) { location.href = `https://tieba.baidu.com/home/main?un=${ev.target.innerText}`; } + if (ev.target.tagName === 'SPAN' && ev.target.classList.contains('forumname')) { + location.href = `https://tieba.baidu.com/f?kw==${ev.target.innerText}&pn=0&`; + } + if (ev.target.tagName === 'SPAN' && ev.target.classList.contains('createtime')) { + ev.stopPropagation(); + ev.preventDefault(); + } + if (ev.target.tagName === 'H4' && ev.target.classList.contains('title')) { + location.href = `https://tieba.baidu.com/home/main?un=${ev.target.innerText}`; + } if (ev.target.classList.contains('icon_tieba_edit')) { //todo 发帖 似乎没相关的调用模块??? }