PUGE %!s(int64=2) %!d(string=hai) anos
pai
achega
344e4809e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]