aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManeraKai <manerakai@protonmail.com>2024-09-21 09:30:22 +0300
committerManeraKai <manerakai@protonmail.com>2024-09-21 09:30:22 +0300
commitc1de0d8cc4814e337c2b843cb401663678c81501 (patch)
treefeae5c223a146ee450c2ee6175ff48c7fd189beb /src
parentAdded margin to popup buttons (diff)
downloadlibredirect-c1de0d8cc4814e337c2b843cb401663678c81501.zip
Restricting maps regex
Diffstat (limited to '')
-rw-r--r--src/config.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.json b/src/config.json
index 045d7f20..9767bf43 100644
--- a/src/config.json
+++ b/src/config.json
@@ -1147,7 +1147,8 @@
},
"targets": [
"^https?:\\/{2}maps\\.libredirect\\.invalid",
- "^https?:\\/{2}(((www|maps)\\.)?(google\\.).*(\\/maps)|maps\\.(google\\.).*)"
+ "^https?:\\/{2}(www\\.)?maps\\.google(\\.[a-z]{2,3}){1,2}\\/",
+ "^https?:\\/{2}(www\\.)?google(\\.[a-z]{2,3}){1,2}\\/maps\\/?"
],
"name": "Maps",
"options": {