PUGE пре 2 година
родитељ
комит
344e4809e5
1 измењених фајлова са 1 додато и 1 уклоњено
  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]