可以在C頁文章頁面確認子板,無須回到B頁文章列表查看。
当前为
// ==UserScript==
// @name 巴哈姆特之C頁文章顯示子板
// @description 可以在C頁文章頁面確認子板,無須回到B頁文章列表查看。
// @namespace nathan60107
// @version 2.3
// @author nathan60107(貝果)
// @contributor moontai0724(我是月太 づ(・ω・)づ)
// @homepage https://home.gamer.com.tw/homeindex.php?owner=nathan60107
// @include https://forum.gamer.com.tw/C*
// @noframes
// ==/UserScript==
(function(){
let bsn = window.location.href.match(/.*[^b]bsn=(\d+).*/)[1]
let subbsn = jQuery(".more .tippy-option-menu").data("tippy")["subbsn"]
function add_subtitle_name(data){
let subbsn_name = jQuery(data).find(`.b-tags__item a[href$="${bsn}&subbsn=${subbsn}"]`).text()
let title = jQuery(".c-post__header__title ").text()
jQuery(".c-post__header__title ").text(`《${subbsn_name}》${title}`)
jQuery(".c-disable__title").text(`《${subbsn_name}》${title}`)
jQuery(".title").text(`《${subbsn_name}》${title}`)
}
jQuery.get({
url: `https://forum.gamer.com.tw/B.php?bsn=${bsn}`,
success: add_subtitle_name,
})
})();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址