diff options
author | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-18 23:50:06 +0200 |
---|---|---|
committer | Alex Vitkov <alexvitkov98@gmail.com> | 2021-02-18 23:50:06 +0200 |
commit | ecd983a83f753195688461856c5fd6437d8f53e7 (patch) | |
tree | 3dcffca84a73d3e46f19a24cfaca2456a3ff91de /actions.js | |
parent | 7fe813121b2e6d95ad6e86eeaf12ed58dc2ff729 (diff) | |
download | fileup-ecd983a83f753195688461856c5fd6437d8f53e7.tar.gz |
URL Actions, part 1 of N
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" + } +]; |