From 71783f568e42fc94b0a374700042f7aa62e82ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Tue, 18 Sep 2018 23:37:11 +0200 Subject: [PATCH] Fix #92, #98, #99 Fix for the google search toolbar bug and the google language bug. --- data/data.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/data/data.json b/data/data.json index 3567a4f..42437f8 100644 --- a/data/data.json +++ b/data/data.json @@ -63,7 +63,7 @@ "sa=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "dpr=[^\\/|\\?|&]*(\\/|&(amp;)?)?", "hl=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - "btnG=[^\\/|\\?|&]*(\\/|&(amp;)?)?" + "btn[a-zA-Z]*=[^\\/|\\?|&]*(\\/|&(amp;)?)?" ], "exceptions": [ ".*(mail\\.google\\.).*(\\/mail\\/u\\/0).*", @@ -73,9 +73,10 @@ ".*(google\\.).*\\/searchbyimage\\?image_url=[^\\/|\\?|&]*(\\/|&(amp;)?)?", ".*(hangouts\\.google\\.).*\\/webchat.*zx=[^\\/|\\?|&]*(\\/|&(amp;)?)?", ".*(client-channel\\.google\\.).*\\/client-channel.*zx=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - ".*(google\\.).*\\/complete\\/search\\?client=youtube.*gs_gbg=[^\\/|\\?|&]*(\\/|&(amp;)?)?", + ".*(google\\.).*\\/complete\\/search\\?.*gs_[a-zA-Z]*=[^\\/|\\?|&]*(\\/|&(amp;)?)?", ".*(google\\.).*\\/s\\?tbm=map.*gs_[a-zA-Z]*=[^\\/|\\?|&]*(\\/|&(amp;)?)?", - ".*(news\\.google\\.).*\\?hl=.*" + ".*(news\\.google\\.).*\\?hl=.*", + ".*(google\\.).*\\/setprefs\\?.*hl=[^\\/|\\?|&]*(\\/|&(amp;)?)?" ], "redirections": [ ".*google\\..*\\/.*url\\?.*url=([^&]*)"