diff options
author | Abdul Hafiz Muhammad <109435420+hafiz-muhammad@users.noreply.github.com> | 2022-10-04 05:05:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 09:05:04 +0000 |
commit | f8f6d7a8b5596c196e14926de69383bf03dab71f (patch) | |
tree | c3e921d80dffb3234e1733239939de7f38f72ca7 /recipes/brax.me/webview.js | |
parent | add recipe for snapchat (#182) (diff) | |
download | ferdium-recipes-f8f6d7a8b5596c196e14926de69383bf03dab71f.tar.gz ferdium-recipes-f8f6d7a8b5596c196e14926de69383bf03dab71f.tar.zst ferdium-recipes-f8f6d7a8b5596c196e14926de69383bf03dab71f.zip |
New recipe: brax.me (#177)
Diffstat (limited to 'recipes/brax.me/webview.js')
-rw-r--r-- | recipes/brax.me/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/brax.me/webview.js b/recipes/brax.me/webview.js new file mode 100644 index 0000000..b83ea5f --- /dev/null +++ b/recipes/brax.me/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | const _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your Brax.Me service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||