diff options
Diffstat (limited to 'recipes/yahoo-mail')
-rw-r--r-- | recipes/yahoo-mail/index.js | 4 | ||||
-rw-r--r-- | recipes/yahoo-mail/package.json | 2 | ||||
-rw-r--r-- | recipes/yahoo-mail/webview.js | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/yahoo-mail/index.js b/recipes/yahoo-mail/index.js index b47bdb4..858fff1 100644 --- a/recipes/yahoo-mail/index.js +++ b/recipes/yahoo-mail/index.js | |||
@@ -1,9 +1,9 @@ | |||
1 | module.exports = (Ferdi) => class YahooMail extends Ferdi { | 1 | module.exports = (Ferdium) => class YahooMail extends Ferdium { |
2 | modifyRequestHeaders() { | 2 | modifyRequestHeaders() { |
3 | return [ | 3 | return [ |
4 | { | 4 | { |
5 | headers: { | 5 | headers: { |
6 | // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdi | 6 | // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdium |
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 | '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 | }, | 8 | }, |
9 | requestFilters: { | 9 | requestFilters: { |
diff --git a/recipes/yahoo-mail/package.json b/recipes/yahoo-mail/package.json index 1c6a2be..3bf5dbe 100644 --- a/recipes/yahoo-mail/package.json +++ b/recipes/yahoo-mail/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "yahoo-mail", | 2 | "id": "yahoo-mail", |
3 | "name": "Yahoo Mail", | 3 | "name": "Yahoo Mail", |
4 | "version": "1.1.2", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://mail.yahoo.com", | 7 | "serviceURL": "https://mail.yahoo.com", |
diff --git a/recipes/yahoo-mail/webview.js b/recipes/yahoo-mail/webview.js index 17ea298..d9f919c 100644 --- a/recipes/yahoo-mail/webview.js +++ b/recipes/yahoo-mail/webview.js | |||
@@ -1,8 +1,8 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdium) => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const count = document.querySelector('a[data-test-folder-name="Inbox"]').getAttribute('data-test-unread-count'); | 3 | const count = document.querySelector('a[data-test-folder-name="Inbox"]').getAttribute('data-test-unread-count'); |
4 | Ferdi.setBadge(count); | 4 | Ferdium.setBadge(count); |
5 | }; | 5 | }; |
6 | 6 | ||
7 | Ferdi.loop(getMessages); | 7 | Ferdium.loop(getMessages); |
8 | }; | 8 | }; |