diff options
author | 2021-06-29 13:27:15 +0530 | |
---|---|---|
committer | 2021-06-29 13:28:24 +0530 | |
commit | 5e56414aa64b339dfdd817a8e49e08c5179d3bdd (patch) | |
tree | d2d966b8cafc80aa1d45920ae9de8e41ea85f05a /recipes/superhuman-email/index.js | |
parent | Added new GH Actions workflow to welcome first time contributors. [skip ci] (diff) | |
download | ferdium-recipes-5e56414aa64b339dfdd817a8e49e08c5179d3bdd.tar.gz ferdium-recipes-5e56414aa64b339dfdd817a8e49e08c5179d3bdd.tar.zst ferdium-recipes-5e56414aa64b339dfdd817a8e49e08c5179d3bdd.zip |
Adding new recipe: Superhuman (Fixes #573)
Diffstat (limited to 'recipes/superhuman-email/index.js')
-rw-r--r-- | recipes/superhuman-email/index.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/superhuman-email/index.js b/recipes/superhuman-email/index.js new file mode 100644 index 0000000..311ff8f --- /dev/null +++ b/recipes/superhuman-email/index.js | |||
@@ -0,0 +1,11 @@ | |||
1 | // just pass through Franz - Superhuman tab appears, says needs Chrome | ||
2 | // module.exports = Franz => Franz; | ||
3 | |||
4 | // tried the whole string from the issue example - Superhuman tab appears, says needs Chrome | ||
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"; } }; | ||
6 | |||
7 | // updated class name to superhuman - Superhuman tab appears, says needs Chrome | ||
8 | module.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"; } }; | ||