summaryrefslogtreecommitdiffstats
path: root/toolkit/components/search/tests/xpcshell/simple-engines/engines.json
blob: 170ed8c4fed277843dfc42204e846fb0c673f95e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  "data": [
    {
      "webExtension": {
        "id": "basic@search.mozilla.org",
        "name": "basic",
        "search_url": "https://ar.wikipedia.org/wiki/%D8%AE%D8%A7%D8%B5:%D8%A8%D8%AD%D8%AB",
        "params": [
          {
            "name": "search",
            "value": "{searchTerms}"
          },
          {
            "name": "sourceId",
            "value": "Mozilla-search"
          }
        ],
        "suggest_url": "https://ar.wikipedia.org/w/api.php?action=opensearch&search={searchTerms}"
      },
      "telemetryId": "basic-telemetry",
      "appliesTo": [
        {
          "included": { "everywhere": true },
          "default": "yes"
        }
      ]
    },
    {
      "webExtension": {
        "id": "simple@search.mozilla.org",
        "name": "Simple Engine",
        "search_url": "https://example.com",
        "params": [
          {
            "name": "sourceId",
            "value": "Mozilla-search"
          },
          {
            "name": "search",
            "value": "{searchTerms}"
          }
        ],
        "suggest_url": "https://example.com?search={searchTerms}"
      },
      "appliesTo": [
        {
          "included": { "everywhere": true },
          "default": "no"
        }
      ]
    }
  ]
}