From 623badd78221bdfb78d07acc7538915f43082e41 Mon Sep 17 00:00:00 2001 From: Stratos Karakondis Date: Fri, 12 Jan 2024 15:56:11 +0200 Subject: [PATCH 1/4] update chatsIcon selector --- source/browser/selectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/browser/selectors.ts b/source/browser/selectors.ts index 8274806ec..7132de3c3 100644 --- a/source/browser/selectors.ts +++ b/source/browser/selectors.ts @@ -1,6 +1,6 @@ export default { leftSidebar: '[role="navigation"] > div > div', // ! Tray icon dependency - chatsIcon: '[class="x1i10hfl xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx x2lwn1j xeuugli x4uap5 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x87ps6o x1lku1pv x1a2a7pz x6s0dn4 x1q0g3np xn3w4p2 x1nn3v0j x1120s5i x1av1boa x1lq5wgf xgqcy7u x30kzoy x9jhf4c xdj266r x11i5rnm xat24cr x1mh8g0r x78zum5"]', // ! Tray icon dependency + chatsIcon: '[data-pagelet="MWCMInboxLeftRailSidebar"] > div > div > div > span:nth-child(1) > a', // ! Tray icon dependency conversationList: '[role=navigation] [role=grid] [class="x1n2onr6"]', conversationSelector: '[role=main] [role=grid]', conversationSidebarUnreadDot: 'x1i10hfl x1qjc9v5 xjbqb8w xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx xdj266r x11i5rnm xat24cr x1mh8g0r x2lwn1j xeuugli xexx8yu x4uap5 x18d9i69 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x1o1ewxj x3x9cwd x1e5q0jg x13rtm0m x1q0g3np x87ps6o x1lku1pv x78zum5 x1a2a7pz', From a6eb051c9f62b15cce576edfa7e89d7412fe6839 Mon Sep 17 00:00:00 2001 From: Stratos Karakondis Date: Fri, 2 Feb 2024 18:20:07 +0200 Subject: [PATCH 2/4] better selector --- source/browser/selectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/browser/selectors.ts b/source/browser/selectors.ts index 7132de3c3..1fd0e1c05 100644 --- a/source/browser/selectors.ts +++ b/source/browser/selectors.ts @@ -1,6 +1,6 @@ export default { leftSidebar: '[role="navigation"] > div > div', // ! Tray icon dependency - chatsIcon: '[data-pagelet="MWCMInboxLeftRailSidebar"] > div > div > div > span:nth-child(1) > a', // ! Tray icon dependency + chatsIcon: '[data-pagelet="MWCMInboxLeftRailSidebar"] > div > div > div:nth-child(1) a', // ! Tray icon dependency conversationList: '[role=navigation] [role=grid] [class="x1n2onr6"]', conversationSelector: '[role=main] [role=grid]', conversationSidebarUnreadDot: 'x1i10hfl x1qjc9v5 xjbqb8w xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx xdj266r x11i5rnm xat24cr x1mh8g0r x2lwn1j xeuugli xexx8yu x4uap5 x18d9i69 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x1o1ewxj x3x9cwd x1e5q0jg x13rtm0m x1q0g3np x87ps6o x1lku1pv x78zum5 x1a2a7pz', From d470350b6f3a87a1313da1fec69c5809877cafac Mon Sep 17 00:00:00 2001 From: Stratos Karakondis Date: Sat, 3 Feb 2024 22:49:28 +0200 Subject: [PATCH 3/4] revert to old selector --- source/browser/selectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/browser/selectors.ts b/source/browser/selectors.ts index 1fd0e1c05..d9f940617 100644 --- a/source/browser/selectors.ts +++ b/source/browser/selectors.ts @@ -1,6 +1,6 @@ export default { leftSidebar: '[role="navigation"] > div > div', // ! Tray icon dependency - chatsIcon: '[data-pagelet="MWCMInboxLeftRailSidebar"] > div > div > div:nth-child(1) a', // ! Tray icon dependency + chatsIcon: '[class="x1i10hfl xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx x2lwn1j xeuugli x4uap5 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x87ps6o x1lku1pv x1a2a7pz x6s0dn4 x1q0g3np xn3w4p2 x1nn3v0j x1120s5i x1ry3o7a x1lq5wgf xgqcy7u x30kzoy x9jhf4c xdj266r x11i5rnm xat24cr x1mh8g0r x78zum5"]', // ! Tray icon dependency conversationList: '[role=navigation] [role=grid] [class="x1n2onr6"]', conversationSelector: '[role=main] [role=grid]', conversationSidebarUnreadDot: 'x1i10hfl x1qjc9v5 xjbqb8w xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx xdj266r x11i5rnm xat24cr x1mh8g0r x2lwn1j xeuugli xexx8yu x4uap5 x18d9i69 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x1o1ewxj x3x9cwd x1e5q0jg x13rtm0m x1q0g3np x87ps6o x1lku1pv x78zum5 x1a2a7pz', From b9e166e78ec60e27606dd8f2c60dc11c9fcf752c Mon Sep 17 00:00:00 2001 From: Stratos Karakondis Date: Sat, 3 Feb 2024 23:57:57 +0200 Subject: [PATCH 4/4] up sel --- source/browser/selectors.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/browser/selectors.ts b/source/browser/selectors.ts index d9f940617..3a08ed9a6 100644 --- a/source/browser/selectors.ts +++ b/source/browser/selectors.ts @@ -1,6 +1,6 @@ export default { leftSidebar: '[role="navigation"] > div > div', // ! Tray icon dependency - chatsIcon: '[class="x1i10hfl xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx x2lwn1j xeuugli x4uap5 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x87ps6o x1lku1pv x1a2a7pz x6s0dn4 x1q0g3np xn3w4p2 x1nn3v0j x1120s5i x1ry3o7a x1lq5wgf xgqcy7u x30kzoy x9jhf4c xdj266r x11i5rnm xat24cr x1mh8g0r x78zum5"]', // ! Tray icon dependency + chatsIcon: '[class="x9f619 x1n2onr6 x1ja2u2z x78zum5 xdt5ytf x2lah0s x193iq5w xdj266r"] a', // ! Tray icon dependency conversationList: '[role=navigation] [role=grid] [class="x1n2onr6"]', conversationSelector: '[role=main] [role=grid]', conversationSidebarUnreadDot: 'x1i10hfl x1qjc9v5 xjbqb8w xjqpnuy xa49m3k xqeqjp1 x2hbi6w x13fuv20 xu3j5b3 x1q0q8m5 x26u7qi x972fbf xcfux6l x1qhh985 xm0m39n x9f619 x1ypdohk xdl72j9 x2lah0s xe8uvvx xdj266r x11i5rnm xat24cr x1mh8g0r x2lwn1j xeuugli xexx8yu x4uap5 x18d9i69 xkhd6sd x1n2onr6 x16tdsg8 x1hl2dhg xggy1nq x1ja2u2z x1t137rt x1o1ewxj x3x9cwd x1e5q0jg x13rtm0m x1q0g3np x87ps6o x1lku1pv x78zum5 x1a2a7pz',