aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/anonaddy/package.json2
-rw-r--r--recipes/anonaddy/webview.js9
-rw-r--r--recipes/bitbucket/package.json2
-rw-r--r--recipes/bitbucket/webview.js9
-rw-r--r--recipes/epicgames/package.json2
-rw-r--r--recipes/epicgames/webview.js9
-rw-r--r--recipes/gitlab/package.json2
-rw-r--r--recipes/gitlab/webview.js9
-rw-r--r--recipes/home-assistant/package.json2
-rw-r--r--recipes/home-assistant/webview.js20
-rw-r--r--recipes/tutanota/package.json2
-rw-r--r--recipes/tutanota/webview.js9
12 files changed, 61 insertions, 16 deletions
diff --git a/recipes/anonaddy/package.json b/recipes/anonaddy/package.json
index 19c7b68..4ed88f2 100644
--- a/recipes/anonaddy/package.json
+++ b/recipes/anonaddy/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "anonaddy", 2 "id": "anonaddy",
3 "name": "AnonAddy", 3 "name": "AnonAddy",
4 "version": "1.2.0", 4 "version": "1.2.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://app.anonaddy.com/" 7 "serviceURL": "https://app.anonaddy.com/"
diff --git a/recipes/anonaddy/webview.js b/recipes/anonaddy/webview.js
new file mode 100644
index 0000000..46366f4
--- /dev/null
+++ b/recipes/anonaddy/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; \ No newline at end of file
diff --git a/recipes/bitbucket/package.json b/recipes/bitbucket/package.json
index 4a09f6e..7ff7086 100644
--- a/recipes/bitbucket/package.json
+++ b/recipes/bitbucket/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "bitbucket", 2 "id": "bitbucket",
3 "name": "BitBucket", 3 "name": "BitBucket",
4 "version": "1.2.0", 4 "version": "1.2.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://bitbucket.org/dashboard/overview" 7 "serviceURL": "https://bitbucket.org/dashboard/overview"
diff --git a/recipes/bitbucket/webview.js b/recipes/bitbucket/webview.js
new file mode 100644
index 0000000..46366f4
--- /dev/null
+++ b/recipes/bitbucket/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; \ No newline at end of file
diff --git a/recipes/epicgames/package.json b/recipes/epicgames/package.json
index 14a8d4c..5025b41 100644
--- a/recipes/epicgames/package.json
+++ b/recipes/epicgames/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "epicgames", 2 "id": "epicgames",
3 "name": "Epic Games Store", 3 "name": "Epic Games Store",
4 "version": "1.2.0", 4 "version": "1.2.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://www.epicgames.com/id/login?lang=en_US&redirectUrl=https%3A%2F%2Fwww.epicgames.com%2Fstore%2Fen-US%2F&noHostRedirect=true" 7 "serviceURL": "https://www.epicgames.com/id/login?lang=en_US&redirectUrl=https%3A%2F%2Fwww.epicgames.com%2Fstore%2Fen-US%2F&noHostRedirect=true"
diff --git a/recipes/epicgames/webview.js b/recipes/epicgames/webview.js
new file mode 100644
index 0000000..46366f4
--- /dev/null
+++ b/recipes/epicgames/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; \ No newline at end of file
diff --git a/recipes/gitlab/package.json b/recipes/gitlab/package.json
index 29cf544..008b1c7 100644
--- a/recipes/gitlab/package.json
+++ b/recipes/gitlab/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "gitlab", 2 "id": "gitlab",
3 "name": "GitLab", 3 "name": "GitLab",
4 "version": "1.3.0", 4 "version": "1.3.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://gitlab.com/users/sign_in", 7 "serviceURL": "https://gitlab.com/users/sign_in",
diff --git a/recipes/gitlab/webview.js b/recipes/gitlab/webview.js
new file mode 100644
index 0000000..46366f4
--- /dev/null
+++ b/recipes/gitlab/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; \ No newline at end of file
diff --git a/recipes/home-assistant/package.json b/recipes/home-assistant/package.json
index 60e06e0..0a8ad6a 100644
--- a/recipes/home-assistant/package.json
+++ b/recipes/home-assistant/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "home-assistant", 2 "id": "home-assistant",
3 "name": "Home Assistant", 3 "name": "Home Assistant",
4 "version": "1.0.0", 4 "version": "1.0.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "hasCustomUrl": true, 7 "hasCustomUrl": true,
diff --git a/recipes/home-assistant/webview.js b/recipes/home-assistant/webview.js
index a449cc4..7a0ab47 100644
--- a/recipes/home-assistant/webview.js
+++ b/recipes/home-assistant/webview.js
@@ -1,12 +1,12 @@
1module.exports = Ferdium => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const badges = document.querySelector("home-assistant").shadowRoot.querySelector("home-assistant-main").shadowRoot.querySelector("ha-sidebar").shadowRoot.querySelectorAll(".notification-badge"); 3 const badges = document.querySelector("home-assistant").shadowRoot.querySelector("home-assistant-main").shadowRoot.querySelector("ha-sidebar").shadowRoot.querySelectorAll(".notification-badge");
4 if (badges.length > 0) { 4 if (badges.length > 0) {
5 var count = Ferdium.safeParseInt(badges[0].textContent.replace(/[^\p{N}]/gu, '')); 5 var count = Ferdium.safeParseInt(badges[0].textContent.replace(/[^\p{N}]/gu, ''));
6 Ferdium.setBadge(count) 6 Ferdium.setBadge(count)
7 } else { 7 } else {
8 Ferdium.setBadge(0) 8 Ferdium.setBadge(0)
9 } 9 }
10 }; 10 };
11 Ferdium.loop(getMessages); 11 Ferdium.loop(getMessages);
12}; 12};
diff --git a/recipes/tutanota/package.json b/recipes/tutanota/package.json
index 678613f..a502009 100644
--- a/recipes/tutanota/package.json
+++ b/recipes/tutanota/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "tutanota", 2 "id": "tutanota",
3 "name": "Tutanota", 3 "name": "Tutanota",
4 "version": "1.2.0", 4 "version": "1.2.1",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://mail.tutanota.com/" 7 "serviceURL": "https://mail.tutanota.com/"
diff --git a/recipes/tutanota/webview.js b/recipes/tutanota/webview.js
new file mode 100644
index 0000000..46366f4
--- /dev/null
+++ b/recipes/tutanota/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9}; \ No newline at end of file