diff options
Diffstat (limited to 'actions.js')
-rw-r--r-- | actions.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/actions.js b/actions.js new file mode 100644 index 0000000..776e7ad --- /dev/null +++ b/actions.js @@ -0,0 +1,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=$filename" + } +]; |