Unable to add HTML filtration rule

Discussion in 'AdGuard for Chrome and Opera' started by Roman753, Jul 20, 2014.

  1. Roman753

    Roman753 New Member

    Joined:
    Jul 20, 2014
    Messages:
    2
    I am trying to add HTML filtration rule ( $$script[type="text/javascript"][tag-content="bestpizzaeverad.com"] from the example on http://adguard.com/en/filterrules.html ) to my filter list (User filter) but the rule disappears.

    How to add HTML filtration rule?
     
  2. Boo Berry

    Boo Berry Moderator + Beta Tester Moderator

    Joined:
    May 30, 2012
    Messages:
    3,212
    I might be wrong, but I don't believe those type of rules are supported by the browser extensions nor would they'd work anyways.
     
  3. avatar

    avatar Administrator Staff Member Administrator

    Joined:
    Oct 26, 2010
    Messages:
    12,895
    These type of rules is not supported by browser extensions.
    The problem is that extensions cannot change HTML content before page has been loaded.