diff options
author | 2023-11-06 13:00:58 +0100 | |
---|---|---|
committer | 2023-11-06 05:00:58 -0700 | |
commit | e73d4c2d4adbdd9976da91ececffff857d953c45 (patch) | |
tree | 2fa67a5c0a5dc70c00f626fa33b706da942b9fd2 | |
parent | add arnostpleskot as a contributor for code (#460) (diff) | |
download | ferdium-recipes-e73d4c2d4adbdd9976da91ececffff857d953c45.tar.gz ferdium-recipes-e73d4c2d4adbdd9976da91ececffff857d953c45.tar.zst ferdium-recipes-e73d4c2d4adbdd9976da91ececffff857d953c45.zip |
Update notification selectors for TikTok (#454)
-rw-r--r-- | recipes/tiktok/package.json | 2 | ||||
-rw-r--r-- | recipes/tiktok/webview.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/tiktok/package.json b/recipes/tiktok/package.json index a0018b1..720cb3b 100644 --- a/recipes/tiktok/package.json +++ b/recipes/tiktok/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "tiktok", | 2 | "id": "tiktok", |
3 | "name": "Tiktok", | 3 | "name": "Tiktok", |
4 | "version": "1.1.0", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://tiktok.com" | 7 | "serviceURL": "https://tiktok.com" |
diff --git a/recipes/tiktok/webview.js b/recipes/tiktok/webview.js index d2bf2d0..c3af44c 100644 --- a/recipes/tiktok/webview.js +++ b/recipes/tiktok/webview.js | |||
@@ -7,10 +7,10 @@ const _path = _interopRequireDefault(require('path')); | |||
7 | module.exports = Ferdium => { | 7 | module.exports = Ferdium => { |
8 | const getMessages = () => { | 8 | const getMessages = () => { |
9 | const selNotifications = document.querySelector( | 9 | const selNotifications = document.querySelector( |
10 | 'div.tiktok-1b4xcc5-DivHeaderInboxContainer.e18kkhh40 > sup', | 10 | 'div.tiktok-1deszxq-DivHeaderInboxContainer.e18kkhh40 > sup', |
11 | ); | 11 | ); |
12 | const selDM = document.querySelector( | 12 | const selDM = document.querySelector( |
13 | 'div.tiktok-1ibfxbr-DivMessageIconContainer.e1nx07zo0 > sup', | 13 | 'div.tiktok-9j9jz0-DivMessageIconContainer.e1nx07zo0 > sup', |
14 | ); | 14 | ); |
15 | 15 | ||
16 | const countNotifications = | 16 | const countNotifications = |