fix
This commit is contained in:
parent
698b68f74a
commit
fce53da492
|
@ -179,7 +179,7 @@ function check() {
|
||||||
|
|
||||||
function list() {
|
function list() {
|
||||||
[
|
[
|
||||||
'.frs_daoliu_for_app', '.tl_shadow_for_app_modle',
|
'.frs_daoliu_for_app', '.tl_shadow_for_app_modle', '.footer_logo', '.footer_link_highlight'
|
||||||
].forEach(value => {
|
].forEach(value => {
|
||||||
let x = document.querySelector(value);
|
let x = document.querySelector(value);
|
||||||
if (x) {
|
if (x) {
|
||||||
|
@ -234,16 +234,14 @@ function detail() {
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
if (check()) {
|
|
||||||
let url = location.href;
|
let url = location.href;
|
||||||
|
|
||||||
if (/\/p\/\d+/.test(url)) {
|
if (/\/p\/\d+/.test(url)) {
|
||||||
detail();
|
detail();
|
||||||
}
|
}
|
||||||
if (/f\?kw=.+/.test(url)) {
|
if (/f\?kw=.+/.test(url) || /mo\/q\/m\?word=.+/.test(url)) {
|
||||||
list();
|
list();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
})();
|
})();
|
Loading…
Reference in New Issue
Block a user