diff options
author | 2023-10-19 01:23:01 +0100 | |
---|---|---|
committer | 2023-10-19 01:23:01 +0100 | |
commit | 5438c4606943d02c3286af727d3b483a9a290768 (patch) | |
tree | d497f332ed74b38c0e190e35eef1faa7ac42ba10 /recipes/regex101/webview.js | |
parent | Instagram fix (#1403) (#443) (diff) | |
download | ferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.tar.gz ferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.tar.zst ferdium-recipes-5438c4606943d02c3286af727d3b483a9a290768.zip |
Add multiple recipes (#444)
Diffstat (limited to 'recipes/regex101/webview.js')
-rw-r--r-- | recipes/regex101/webview.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/regex101/webview.js b/recipes/regex101/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/regex101/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME 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 | }; | ||