aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tiktok
diff options
context:
space:
mode:
authorLibravatar Eduardo Fernández <yo@edufdez.es>2023-11-06 13:00:58 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-06 05:00:58 -0700
commite73d4c2d4adbdd9976da91ececffff857d953c45 (patch)
tree2fa67a5c0a5dc70c00f626fa33b706da942b9fd2 /recipes/tiktok
parentadd arnostpleskot as a contributor for code (#460) (diff)
downloadferdium-recipes-e73d4c2d4adbdd9976da91ececffff857d953c45.tar.gz
ferdium-recipes-e73d4c2d4adbdd9976da91ececffff857d953c45.tar.zst
ferdium-recipes-e73d4c2d4adbdd9976da91ececffff857d953c45.zip
Update notification selectors for TikTok (#454)
Diffstat (limited to 'recipes/tiktok')
-rw-r--r--recipes/tiktok/package.json2
-rw-r--r--recipes/tiktok/webview.js4
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'));
7module.exports = Ferdium => { 7module.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 =