|
@@ -102,7 +102,7 @@ function lanjie (blockList) {
|
|
|
function(details) {
|
|
function(details) {
|
|
|
|
|
|
|
|
for (const key in blockList) {
|
|
for (const key in blockList) {
|
|
|
- if (details.url.includes(key) || new RegExp(key).test(details.url)) {
|
|
|
|
|
|
|
+ if (details.url.includes(key) || new RegExp(key).test(details.url) || details.url == key) {
|
|
|
// console.log(details.url)
|
|
// console.log(details.url)
|
|
|
return {
|
|
return {
|
|
|
redirectUrl: blockList[key]
|
|
redirectUrl: blockList[key]
|