Fix Searx as a search engine on Firefox android
The user agent is now similar to "Mozilla/5.0 (Android 9; Mobile; rv:83.0) Gecko/83.0 Firefox/83.0".
This commit is contained in:
parent
7ad4d4903d
commit
f48172e4de
|
@ -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