aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/yahoo-mail/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/yahoo-mail/index.js')
-rw-r--r--recipes/yahoo-mail/index.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/yahoo-mail/index.js b/recipes/yahoo-mail/index.js
new file mode 100644
index 0000000..599e93c
--- /dev/null
+++ b/recipes/yahoo-mail/index.js
@@ -0,0 +1,15 @@
1module.exports = (Franz) =>
2 class YahooMail extends Franz {
3 modifyRequestHeaders() {
4 return [
5 {
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',
8 },
9 requestFilters: {
10 urls: ['*://*/*'],
11 }
12 }
13 ]
14 }
15 };