aboutsummaryrefslogtreecommitdiffstats
path: root/actions.js
blob: 69912e4ca1c8e206efdbc79f9c71900648da0df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

// Patterns in the URL:
// $fileanme           - filename
// $content_urlencoded - file contents, urlencoded
// $content_base64     - file contents, base64'd

const actions = [
    {
        "extension": ".txt",
        "text": "Google search filename",
        "url": "https://www.google.com/search?q=$filename"
    },
    {
        "extension": ".txt",
        "text": "Google search contents",
        "url": "https://www.google.com/search?q=$content_urlencoded"
    }
];