您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
消息按钮列表显示我的回复
当前为
// ==UserScript== // @name 百度贴吧添加我的回复按钮 // @namespace http://tampermonkey.net/ // @version 0.1.9.1 // @description 消息按钮列表显示我的回复 // @author AN drew // @match https://tieba.baidu.com/* // @license MIT // @grant GM_addStyle // ==/UserScript== (function() { 'use strict'; let blacklist = new Set(['tb.1.799c5565.B5RZU87zci5PWiKZuJbB9g', 'tb.1.719d1be6.PNFJXEpQCIwE5Y8sxkAh7Q', 'tb.1.36af074f.NRi5aqOvEhihsprdx6e1TQ', 'tb.1.7924280c.CKQHLFyXmmqrJdbFRluI0Q', 'tb.1.640e803c.lHh99VVfkdYCUebspPdYsA', 'tb.1.bb33716b.nyYacQlDrbz9u9924XODqQ', 'tb.1.4cf0093a.Sw1dSPeXG355_ZhcTg0a8w', 'tb.1.d0bd3398.gQv1O3wf86hCI0DmDvEEHA', 'tb.1.2ea66754.0t9tFTrX-DRGl0vnuHKLxA', 'tb.1.de0c0ab1.LHqkc_B_TbeYBVY-3XBBzA', 'tb.1.6ab9c5ed.G2zF0ntB6rKMzCcp1YnzKw', 'tb.1.5bb60570.acMsxlOb9RxsW3iXVkCY0g', 'tb.1.6391954a.4mvjcTeGl5_ASU09EWQF9g', 'tb.1.a25f5416.TDWtwSEqTx4D-gA89h2SZQ', 'tb.1.482cf97e.DnVfPNuJv34bzbC9mara2A', 'tb.1.b9f5a1f2.oHZgPuOfu-1y7vSltmGv5w', 'tb.1.5fe9b34.zOAv2W0h4zw1xyMxK1BA7g', 'tb.1.92dda389.XQg2p6DjkC02whcwyaUmEw', 'tb.1.6fe622ff.0Y1MOLjrynmQPyi363YYTQ', 'tb.1.468e9c56.JXinix0ZssrRF0Ye7q9Ouw', 'tb.1.9ccc38e7.CKI3IdyKy-9tLEXo5Z16Ew', 'tb.1.8edcafc8.eyJzt5AMwe7uAyCnLJs3OQ', 'tb.1.3ca3385e.JZrrzfQy8WRVdCm6GFjQIQ', 'tb.1.4be3e18a.SyW8ufq0b_PJjBnODhVj7w', 'tb.1.f5662821.B2O_RQbszT2GVhLhnRk5Eg', 'tb.1.fe21a830.3wHnvVCbwQ1QJ0zqiMIM_w', 'tb.1.c0d521d0.EEB8tYqmj3NV5-_fGkRf6A', 'tb.1.cfe88813.OwTUB61qg8JaftKhFwZsjA', 'tb.1.87939b92.Wg5zYNHwSexX8ljeCNlIyw', 'tb.1.e011a1ec.GWI1LY3_3VILwiInO9429A', 'tb.1.9d72ae89.8t_hkvcVcdPWf1jpDO2Ogw', 'tb.1.34c54570.lkIEkK1QjsBdZrWhk4f0-Q', 'tb.1.13edefc5.BNfBlEgM-de3G4qgNbZi_A', 'tb.1.4305f1f4.eKyyq3or9inGCrnTO-Hy4A', 'tb.1.5651130d.kupHp9IUw55nNc16h-Gqrw', 'tb.1.a411ffb4.JD_TSgpa0aDpWppmiXquGg', 'tb.1.e7af89f5.Qrw5I6dN5kNhEaymNdrH8w', 'tb.1.5f444a46.RB1UT0UeKiRjNnDr7G3t9A', 'tb.1.bb0da7da.vf1-gs2eU8yHVRM7puI-XQ', 'tb.1.8791a12f.p7rZG9CC0ljKoXkuLzYpgg', 'tb.1.4304c335.QCaDC46Wo8pceKjiyf2Ekw', 'tb.1.b1a6ff8e.TYmggHT4CJMFRBEveYzDkA', 'tb.1.93f727ac.t5-hPZ-cqBinG988s6p-RQ', 'tb.1.e2f03429.Tc8_HuRuIUzAiteggVkPuw', 'tb.1.37e5c7f5.WxJJnLTdnbEKdzkaR6ypfQ', 'tb.1.7ece3b7.z1VvGrbVKHlNvCpdDrkSKA', 'tb.1.1c890d54.okJcEerCwxJ-HOs3e_8VLQ', 'tb.1.d45bcf8b.07YGeypkUjkojQ76qxkQ9Q', 'tb.1.b06f42db.HGMTYeMotEU3u-mHT2oCmA', 'tb.1.665cb449.HRhZvOHE608CVgio1f-KBQ', 'tb.1.a02b0853.fjK2Yy2QNylNP1HDsM2Beg', 'tb.1.87acc1b7.ARPLfOaXgSekvaghrSG0xQ' ]); setInterval(function(){ $('.j_thread_list').each(function(){ let author=$.parseJSON($(this).attr('data-field')).author_portrait; if(blacklist.has(author)) { //console.log($.parseJSON($(this).attr('data-field'))) $(this).attr('style','background:red'); $(this).addClass('hide'); } }) },1000); setTimeout(function(){ $('#com_userbar > ul > li.u_news > div.u_ddl > div > div.u_ddl_con_top > div > ul.sys_notify.j_sys_notify.j_category_list > li:nth-child(2)').after('<li class="category_item category_item_empty"> <a class="j_cleardata" href="http://tieba.baidu.com/i/i/my_reply" target="_blank" data-type="reply" se_prerender_url="complete">我的回复 </a> </li>'); $('#u_notify_item > li:nth-child(2)').after('<li class="category_item category_item_empty"> <a class="j_cleardata" href="http://tieba.baidu.com/i/i/my_reply" target="_blank" data-type="reply" se_prerender_url="complete">我的回复 </a> </li>'); },5000); if(window.location.href.indexOf('tieba.baidu.com/p/') > -1) { let timer = setInterval(function(){ let fa_date $('.p_postlist .l_post:first-child .tail-info, #j_p_postlist > div.l_post.j_l_post.l_post_bright.noborder.wide > div.d_post_content_main.d_post_content_firstfloor > div.core_reply.j_lzl_wrapper > div.core_reply_tail > ul.p_tail > li:nth-child(2) > span').each(function(){ if($(this).text().indexOf('-')>-1 && $(this).text().indexOf(':')>-1) { fa_date=new Date($(this).text()); } }) let now_date=new Date(); if(now_date-fa_date>7*24*60*60*1000) { $('#j_core_title_wrap, .core_title_theme_bright,.l_post_bright, .l_post_bright .d_post_content_main, .l_post_bright .d_post_content_main .p_content').css('background','red'); clearInterval(timer); } },1000); } $('.b_right_up nobr:nth-child(2) .b_reply').each(function(){ if(!$(this).hasClass('pic') && $(this).text()=='回复') { $(this).text('【图片回复】'); $(this).addClass('pic'); } }) GM_addStyle(`body {overflow-x: auto;} .af_container{overflow: auto;} .tbui_aside_float_bar{display:none!important} .j_thread_list.hide{display:none!important}`); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址