From 9979086c7bc3b8998bdb5712e78b1236ba61ee24 Mon Sep 17 00:00:00 2001 From: smmkolesnikov <86059054+smmkolesnikov@users.noreply.github.com> Date: Thu, 29 Aug 2024 15:50:16 +0200 Subject: [PATCH] Fix Threads Terms 5 (#352) * Fix Threads Terms 4 * Fix Threads Terms 5 --------- Co-authored-by: Sergei Kolesnikov --- declarations/Threads.json | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/declarations/Threads.json b/declarations/Threads.json index 6ed6d6c..f85ab50 100644 --- a/declarations/Threads.json +++ b/declarations/Threads.json @@ -2,22 +2,30 @@ "name": "Threads", "documents": { "Terms of Service": { - "fetch": "https://help.instagram.com/769983657850450?helpref=faq_content&cms_id=769983657850450", + "fetch": "https://help.instagram.com/769983657850450", "select": [ - { - "startBefore": "[class*=bh]", - "endBefore": "[class*=bp]" - } - ] + "div[role=\"main\"]" + ], + "remove": [ + "#Related", + "[class*=xrgej4m]", + "[class*=x4k7w5x]", + "[role*=navigation]" + ], + "executeClientScripts": true }, "Privacy Policy": { - "fetch": "https://help.instagram.com/515230437301944?cms_id=515230437301944", + "fetch": "https://help.instagram.com/515230437301944", "select": [ - { - "startBefore": "[class*=bh]", - "endBefore": "[class*=bp]" - } - ] + "div[role=\"main\"]" + ], + "remove": [ + "#Related", + "[class*=xrgej4m]", + "[class*=x4k7w5x]", + "[role*=navigation]" + ], + "executeClientScripts": true } } } \ No newline at end of file