Merge pull request #61 from searx/unixfox-patch-1

Fix Searx as a search engine on Firefox android
This commit is contained in:
Alexandre Flament 2020-11-10 22:08:32 +01:00 committed by GitHub
commit a7443cdc5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,10 +31,10 @@
"filters": ["Param:q", "Path=^(/|/search)$"], "filters": ["Param:q", "Path=^(/|/search)$"],
"subrules": [ "subrules": [
{ {
"name": "allow Firefox Android (issue #48)", "name": "allow Firefox Android (issue #48 and #60)",
"filters": [ "filters": [
"Param:q=^1$", "Param:q=^1$",
"Header:User-Agent=^MozacFetch/[0-9]{2,3}.[0-9].[0-9]+$" "Header:User-Agent=(^MozacFetch/[0-9]{2,3}.[0-9].[0-9]+$|^Mozilla/5.0 \\(Android [0-9]{1,2}(.[0-9]{1,2}.[0-9]{1,2})?; Mobile; rv:[0-9]{2,3}.[0-9]\\) Gecko/[0-9]{2,3}.[0-9] Firefox/[0-9]{2,3}.[0-9]$)"
], ],
"stop": true, "stop": true,
"actions": [{"name": "log"}] "actions": [{"name": "log"}]