diff options
author | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2021-09-12 22:01:51 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-09-12 22:06:03 +0530 |
commit | 9db43e100a672b6d6932ac68c0fbe503c129138b (patch) | |
tree | 4f6a31d25a7345c5d92dbd8b80d30ce7d129944f /recipes/superhuman/index.js | |
parent | New recipe: 'stackoverflow' (#707) (diff) | |
download | ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.tar.gz ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.tar.zst ferdium-recipes-9db43e100a672b6d6932ac68c0fbe503c129138b.zip |
Added a check to verify that the folder name of the recipe matches the recipe id (#708)
Use the recipe-id as master to rename internal folder names
Diffstat (limited to 'recipes/superhuman/index.js')
-rw-r--r-- | recipes/superhuman/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/superhuman/index.js b/recipes/superhuman/index.js new file mode 100644 index 0000000..44bc55d --- /dev/null +++ b/recipes/superhuman/index.js | |||
@@ -0,0 +1,6 @@ | |||
1 | module.exports = Ferdi => class SuperHuman extends Ferdi { | ||
2 | overrideUserAgent() { | ||
3 | // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdi | ||
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 | } | ||
6 | }; | ||