Merge pull request #61 from searx/unixfox-patch-1
Fix Searx as a search engine on Firefox android
This commit is contained in:
commit
a7443cdc5f
|
@ -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"}]
|
||||||
|
|
Loading…
Reference in New Issue