是否可以只写一次BCC Fans community
来写这样的指令?
if (document.title.match(/(.+?) - BCC Fans community$/)) {
document.title = document.title.match(/(.+?) - BCC Fans community$/)[1]
} else if (document.title.match(/^BCC Fans community - (.+)/)) {
document.title = document.title.match(^/BCC Fans community - (.+)/)[1]
}