Skip to content

Commit 6137610

Browse files
committed
优化 清理帖子标题〖XXX〗【XXX】文字功能
1 parent c3b8e62 commit 6137610

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Zhiyoo-Enhanced.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 智友邦论坛增强
3-
// @version 1.0.6
3+
// @version 1.0.7
44
// @author X.I.U
55
// @description 自动签到、自动回复、自动无缝翻页、清理置顶帖子、清理帖子标题〖XXX〗【XXX】文字
66
// @icon http://bbs.zhiyoo.net/favicon.ico
@@ -46,7 +46,7 @@
4646
};
4747

4848
var patt_thread = /\/thread-\d+-\d+\-\d+.html/, // 匹配 /thread-XXX-X-X.html 帖子正则表达式
49-
patt_posttitle = /.+|.+/; // 匹配帖子标题中的〖XXX〗【XXX】正则表达式
49+
patt_posttitle = /^.+|^.+/; // 匹配帖子标题中的〖XXX〗【XXX】正则表达式
5050

5151
if (location.pathname === '/plugin.php'){
5252
switch(getQueryVariable("id"))

0 commit comments

Comments
 (0)