I need help with blocking random id element

Discussion in 'Technical Support (AdGuard for iOS)' started by minhtymeo, Feb 9, 2019.

  1. minhtymeo

    minhtymeo New Member

    Joined:
    Feb 9, 2019
    Messages:
    7
    My rule is:

    tinhte.vn###post-53188048 > div.uix_message > div.messageInfo.primaryContent:last-child > div.messageContent:first-child > div.tt-relatedThreads:nth-child(4)

    The "post-53188048" part keeps changing, can anyone help me because my english is not very good so I can't understand the hole AdGuard instruction. Thank you!
     
  2. Blaz

    Blaz Moderator & Translator Moderator

    Joined:
    Dec 21, 2014
    Messages:
    9,496
    Based on the rule you posted, did not checked the site, but it should work:
    Code:
    tinhte.vn##[id^="post-"] > div.uix_message > div.messageInfo.primaryContent:last-child > div.messageContent:first-child > div.tt-relatedThreads:nth-child(4)
    
     
  3. minhtymeo

    minhtymeo New Member

    Joined:
    Feb 9, 2019
    Messages:
    7
    Thanks for replying but it seem like your doesn't work for me. It just block the images, the element is still there. Can you help me out?
     
  4. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,894
    Try clearing the browser's cache.
     
  5. minhtymeo

    minhtymeo New Member

    Joined:
    Feb 9, 2019
    Messages:
    7
    Thanks, but i just did it but it still there :(
     
  6. Blaz

    Blaz Moderator & Translator Moderator

    Joined:
    Dec 21, 2014
    Messages:
    9,496
    Please post the full url. The rule I posted is just based on your snippet as I mentioned before.
     
  7. minhtymeo

    minhtymeo New Member

    Joined:
    Feb 9, 2019
    Messages:
    7
  8. Blaz

    Blaz Moderator & Translator Moderator

    Joined:
    Dec 21, 2014
    Messages:
    9,496
    Please try this rule:

    Code:
    Tinhte.vn##.tt-relatedThreads
     
  9. minhtymeo

    minhtymeo New Member

    Joined:
    Feb 9, 2019
    Messages:
    7
    OMG, it works, amazing, thank you so much!