diff options
Diffstat (limited to 'recipes/snapdrop')
-rw-r--r-- | recipes/snapdrop/index.js | 29 | ||||
-rw-r--r-- | recipes/snapdrop/webview.js | 2 |
2 files changed, 14 insertions, 17 deletions
diff --git a/recipes/snapdrop/index.js b/recipes/snapdrop/index.js index a0d85b9..28dbd49 100644 --- a/recipes/snapdrop/index.js +++ b/recipes/snapdrop/index.js | |||
@@ -1,15 +1,14 @@ | |||
1 | module.exports = (Franz) => | 1 | module.exports = (Franz) => class Snapdrop extends Franz { |
2 | class Snapdrop extends Franz { | 2 | modifyRequestHeaders() { |
3 | modifyRequestHeaders() { | 3 | return [ |
4 | return [ | 4 | { |
5 | { | 5 | headers: { |
6 | headers: { | 6 | 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', |
7 | 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', | 7 | }, |
8 | }, | 8 | requestFilters: { |
9 | requestFilters: { | 9 | urls: ['*://*/*'], |
10 | urls: ['*://*/*'], | 10 | }, |
11 | } | 11 | }, |
12 | } | 12 | ]; |
13 | ] | 13 | } |
14 | } | 14 | }; |
15 | }; | ||
diff --git a/recipes/snapdrop/webview.js b/recipes/snapdrop/webview.js index 3ad189a..2d19daa 100644 --- a/recipes/snapdrop/webview.js +++ b/recipes/snapdrop/webview.js | |||
@@ -1,3 +1 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = (Franz) => {}; | module.exports = (Franz) => {}; | |