diff options
author | 2020-07-19 20:50:01 +0200 | |
---|---|---|
committer | 2020-07-19 20:50:01 +0200 | |
commit | 86e9f657cbe06cfd01e0559fd4cf76d7f53968f9 (patch) | |
tree | 8455b9694f03abab0718b735924a4679137b4e7f /uncompressed/stackexchange/webview.js | |
parent | Merge pull request #229 from CrEaK/office365-fix (diff) | |
parent | Add StackExchange recipe (diff) | |
download | ferdium-recipes-86e9f657cbe06cfd01e0559fd4cf76d7f53968f9.tar.gz ferdium-recipes-86e9f657cbe06cfd01e0559fd4cf76d7f53968f9.tar.zst ferdium-recipes-86e9f657cbe06cfd01e0559fd4cf76d7f53968f9.zip |
Merge pull request #222 from kittywhiskers/master
Add StackExchange
Diffstat (limited to 'uncompressed/stackexchange/webview.js')
-rw-r--r-- | uncompressed/stackexchange/webview.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/uncompressed/stackexchange/webview.js b/uncompressed/stackexchange/webview.js new file mode 100644 index 0000000..ddd0b40 --- /dev/null +++ b/uncompressed/stackexchange/webview.js | |||
@@ -0,0 +1,15 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | var _path = _interopRequireDefault(require("path")); | ||
4 | |||
5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
6 | |||
7 | module.exports = Ferdi => { | ||
8 | const getMessages = function getMessages() { | ||
9 | // TODO: Insert your notification-finding code here | ||
10 | Ferdi.setBadge(0, 0); | ||
11 | }; | ||
12 | |||
13 | Ferdi.loop(getMessages); | ||
14 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
15 | }; | ||