PUGE vor 2 Jahren
Ursprung
Commit
344e4809e5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      back/background.js

+ 1 - 1
back/background.js

@@ -102,7 +102,7 @@ function lanjie (blockList) {
     function(details) {
       
       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)
           return {
             redirectUrl: blockList[key]