tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

matchPatterns.json (678B)


      1 [
      2  {
      3    "namespace": "matchPatterns",
      4    "description": "experimental API extension to expose MatchPattern functionality",
      5    "functions": [
      6      {
      7        "name": "getMatcher",
      8        "type": "function",
      9        "description": "get a MatchPatternSet",
     10        "parameters": [
     11          {
     12            "name": "patterns",
     13            "description": "Array of string URL patterns to match",
     14            "type": "array",
     15            "items": {
     16              "type": "string"
     17            }
     18          }
     19        ],
     20        "returns": {
     21          "type": "object",
     22          "properties": {
     23            "matches": { "type": "function" }
     24          }
     25        }
     26      }
     27    ]
     28  }
     29 ]