mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-10 14:11:22 -06:00
fix: invalid page in threads
This commit is contained in:
parent
9c8fa611aa
commit
4cbc574e79
@ -24,9 +24,9 @@ export class ThreadsService extends AbstractService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isTargetPage(): [boolean, string] {
|
isTargetPage(): [boolean, string] {
|
||||||
const isTargetPage =
|
const isTargetPage = document.querySelector(
|
||||||
document.querySelector('[role="dialog"] [aria-label="Followers"]') ||
|
'[role="dialog"] [role="tab"]>[role="button"]',
|
||||||
document.querySelector('[role="dialog"] [aria-label="Following"]');
|
);
|
||||||
if (!isTargetPage) {
|
if (!isTargetPage) {
|
||||||
return [
|
return [
|
||||||
false,
|
false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user