fix a bug
This commit is contained in:
parent
fe001bbbd2
commit
395126294b
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name tieba page
|
// @name tieba page
|
||||||
// @namespace http://tampermonkey.net/
|
// @namespace http://tampermonkey.net/
|
||||||
// @version 0.70
|
// @version 0.71
|
||||||
// @author fthvgb1
|
// @author fthvgb1
|
||||||
// @match https://tieba.baidu.com/*
|
// @match https://tieba.baidu.com/*
|
||||||
// @grant GM.openInTab
|
// @grant GM.openInTab
|
||||||
@ -302,10 +302,10 @@
|
|||||||
}
|
}
|
||||||
let url = location.href;
|
let url = location.href;
|
||||||
|
|
||||||
if (/\/p\/\d+/.test(url) || /\/mo\/(.*)\/m\?kz=\d+/.test(url)) {
|
if (/\/p\/\d+/.test(url) || /kz=\d+/.test(url)) {
|
||||||
detail();
|
detail();
|
||||||
}
|
}
|
||||||
if (/kw=.+/.test(url) || /mo\/q\/m\?word=.+/.test(url) || /\/mo\/(.*)\/m\?kw=/.test(url)) {
|
if (/kw=.+/.test(url) || /word=.+/.test(url)) {
|
||||||
list();
|
list();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user