aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/yahoo-mail/index.js
blob: b47bdb4b527d262d68aa1a2eb92aef40a700694e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module.exports = (Ferdi) => class YahooMail extends Ferdi {
  modifyRequestHeaders() {
    return [
      {
        headers: {
          // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdi
          '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',
        },
        requestFilters: {
          urls: ['*://*/*'],
        },
      },
    ];
  }
};