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