[fix] rules.json: allow Firefox Android to add searx (#49)
* [fix] rules.json: allow Firefox Android to add searx fix #48 * [fix] rules.json: allow Firefox Android whatever the values of Accept and Accept-Language are.
This commit is contained in:
parent
c3cf61f3b4
commit
337a4d2dd9
1 changed files with 9 additions and 0 deletions
|
@ -30,6 +30,15 @@
|
||||||
"name": "search request",
|
"name": "search request",
|
||||||
"filters": ["Param:q", "Path=^(/|/search)$"],
|
"filters": ["Param:q", "Path=^(/|/search)$"],
|
||||||
"subrules": [
|
"subrules": [
|
||||||
|
{
|
||||||
|
"name": "allow Firefox Android (issue #48)",
|
||||||
|
"filters": [
|
||||||
|
"Param:q=^1$",
|
||||||
|
"Header:User-Agent=^MozacFetch/[0-9]{2,3}.[0-9].[0-9]+$"
|
||||||
|
],
|
||||||
|
"stop": true,
|
||||||
|
"actions": [{"name": "log"}]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "robot agent forbidden",
|
"name": "robot agent forbidden",
|
||||||
"limit": 0,
|
"limit": 0,
|
||||||
|
|
Loading…
Reference in a new issue