diff options
author | vantezzen <hello@vantezzen.io> | 2020-03-28 09:54:31 +0100 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2020-03-28 09:54:31 +0100 |
commit | 006f850d0edc87c7d96055b3466838b49bb0b430 (patch) | |
tree | f41644b276b5fc269c50ab85e63abdae3156953f /uncompressed/jira/index.js | |
parent | #15 Fix Mastodon logo (diff) | |
download | ferdium-recipes-006f850d0edc87c7d96055b3466838b49bb0b430.tar.gz ferdium-recipes-006f850d0edc87c7d96055b3466838b49bb0b430.tar.zst ferdium-recipes-006f850d0edc87c7d96055b3466838b49bb0b430.zip |
Add Jira
Diffstat (limited to 'uncompressed/jira/index.js')
-rw-r--r-- | uncompressed/jira/index.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/uncompressed/jira/index.js b/uncompressed/jira/index.js new file mode 100644 index 0000000..9edb279 --- /dev/null +++ b/uncompressed/jira/index.js | |||
@@ -0,0 +1,8 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => class Jira extends Franz { | ||
4 | overrideUserAgent() { | ||
5 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); | ||
6 | } | ||
7 | |||
8 | }; \ No newline at end of file | ||