aboutsummaryrefslogtreecommitdiffstats
path: root/uncompressed/stackexchange/webview.js
diff options
context:
space:
mode:
authorLibravatar Kittywhiskers Van Gogh <6098974-kittywhiskers@users.noreply.gitlab.com>2020-07-02 15:04:58 +0530
committerLibravatar Kittywhiskers Van Gogh <6098974-kittywhiskers@users.noreply.gitlab.com>2020-07-02 15:04:58 +0530
commiteffc153fe644eaa3ec3a9aa22a419a837d38dbe7 (patch)
tree2a976a116f6c654b734c4b78bb6a372eeccbcb3f /uncompressed/stackexchange/webview.js
parentUpdate repository (diff)
downloadferdium-recipes-effc153fe644eaa3ec3a9aa22a419a837d38dbe7.tar.gz
ferdium-recipes-effc153fe644eaa3ec3a9aa22a419a837d38dbe7.tar.zst
ferdium-recipes-effc153fe644eaa3ec3a9aa22a419a837d38dbe7.zip
Add StackExchange recipe
Diffstat (limited to 'uncompressed/stackexchange/webview.js')
-rw-r--r--uncompressed/stackexchange/webview.js15
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
3var _path = _interopRequireDefault(require("path"));
4
5function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
6
7module.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};