aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/superhuman-email/index.js
diff options
context:
space:
mode:
authorLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-08-27 18:13:24 +0530
committerLibravatar GitHub <noreply@github.com>2021-08-27 18:13:24 +0530
commit155c4b832281348c16be1f4ef667e6e23dbf1bd8 (patch)
treed144e2de2e6c7fb2e334246e8a4aecdbeb08ef8d /recipes/superhuman-email/index.js
parentdocs: fixed template file for creating recipe. (diff)
downloadferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.gz
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.tar.zst
ferdium-recipes-155c4b832281348c16be1f4ef667e6e23dbf1bd8.zip
chore: normalized all recipes to ensure compatibility with es6 (#639)
- Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm.
Diffstat (limited to 'recipes/superhuman-email/index.js')
-rw-r--r--recipes/superhuman-email/index.js17
1 files changed, 6 insertions, 11 deletions
diff --git a/recipes/superhuman-email/index.js b/recipes/superhuman-email/index.js
index 7277aa7..44bc55d 100644
--- a/recipes/superhuman-email/index.js
+++ b/recipes/superhuman-email/index.js
@@ -1,11 +1,6 @@
1// just pass through Franz - Superhuman tab appears, says needs Chrome 1module.exports = Ferdi => class SuperHuman extends Ferdi {
2// module.exports = Franz => Franz; 2 overrideUserAgent() {
3 3 // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdi
4// tried the whole string from the issue example - Superhuman tab appears, says needs Chrome 4 return 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10136';
5// module.exports = Franz => class useragent extends Franz { overrideUserAgent() { return "Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10136"; } }; 5 }
6 6};
7// updated class name to superhuman - Superhuman tab appears, says needs Chrome
8module.exports = Franz => class superhuman extends Franz { overrideUserAgent() { return 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10136'; } };
9
10// Tried shortening to just Chrome lol - Superhuman tab appears, says needs Chrome
11// module.exports = Franz => class superhuman extends Franz { overrideUserAgent() {return "Chrome"; } };