diff options
Diffstat (limited to 'recipes/yahoo-mail/index.js')
-rw-r--r-- | recipes/yahoo-mail/index.js | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/recipes/yahoo-mail/index.js b/recipes/yahoo-mail/index.js index 858fff1..8e2576a 100644 --- a/recipes/yahoo-mail/index.js +++ b/recipes/yahoo-mail/index.js | |||
@@ -1,15 +1,17 @@ | |||
1 | module.exports = (Ferdium) => class YahooMail extends Ferdium { | 1 | module.exports = Ferdium => |
2 | modifyRequestHeaders() { | 2 | class YahooMail extends Ferdium { |
3 | return [ | 3 | modifyRequestHeaders() { |
4 | { | 4 | return [ |
5 | headers: { | 5 | { |
6 | // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdium | 6 | headers: { |
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 | // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdium |
8 | 'user-agent': | ||
9 | 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', | ||
10 | }, | ||
11 | requestFilters: { | ||
12 | urls: ['*://*/*'], | ||
13 | }, | ||
8 | }, | 14 | }, |
9 | requestFilters: { | 15 | ]; |
10 | urls: ['*://*/*'], | 16 | } |
11 | }, | 17 | }; |
12 | }, | ||
13 | ]; | ||
14 | } | ||
15 | }; | ||