-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1d9f2d
commit 5e9b392
Showing
69 changed files
with
1,853 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"id": "alibaba-chat", | ||
"name": "Alibaba Chat", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"serviceURL": "https://message.alibaba.com/message/messenger.htm" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
const getMessages = () => { | ||
// TODO: Insert your notification-finding code here | ||
const count = document.querySelector( | ||
'#im-list > div > div.im-conversation-list-container > div.im-next-tabs.im-next-tabs-pure.im-next-tabs-scrollable.im-next-medium.list-tab > div.im-next-tabs-bar > div > div > div > ul > li:nth-child(2) > div > div > span.red-num', | ||
); | ||
Ferdium.setBadge(count, 0); | ||
}; | ||
Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"id": "canva", | ||
"name": "Canva", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"serviceURL": "https://canva.com" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
// const getMessages = () => { | ||
// // TODO: Insert your notification-finding code here | ||
// Ferdium.setBadge(0, 0); | ||
// }; | ||
// Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"id": "drawio", | ||
"name": "Draw.io", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"serviceURL": "https://app.diagrams.net/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
// const getMessages = () => { | ||
// // TODO: Insert your notification-finding code here | ||
// Ferdium.setBadge(0, 0); | ||
// }; | ||
// Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"id": "fandom", | ||
"name": "Fandom", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"serviceURL": "https://www.fandom.com" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
// const getMessages = () => { | ||
// // TODO: Insert your notification-finding code here | ||
// Ferdium.setBadge(0, 0); | ||
// }; | ||
// Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"id": "fiverr", | ||
"name": "Fiverr", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"serviceURL": "https://www.fiverr.com/inbox/", | ||
"hasNotificationSound": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
// const getMessages = () => { | ||
// // TODO: Insert your notification-finding code here | ||
// Ferdium.setBadge(0, 0); | ||
// }; | ||
// Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"id": "google-maps", | ||
"name": "Google Maps", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"serviceURL": "https://www.google.com/maps" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
// const getMessages = () => { | ||
// // TODO: Insert your notification-finding code here | ||
// Ferdium.setBadge(0, 0); | ||
// }; | ||
// Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"id": "hacker-news", | ||
"name": "Hacker News", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"config": { | ||
"serviceURL": "https://news.ycombinator.com/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function _interopRequireDefault(obj) { | ||
return obj && obj.__esModule ? obj : { default: obj }; | ||
} | ||
|
||
const _path = _interopRequireDefault(require('path')); | ||
|
||
module.exports = Ferdium => { | ||
// TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
// const getMessages = () => { | ||
// // TODO: Insert your notification-finding code here | ||
// Ferdium.setBadge(0, 0); | ||
// }; | ||
// Ferdium.loop(getMessages); | ||
|
||
Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = Ferdium => Ferdium; |
Oops, something went wrong.