Block JavaScript on per-domain basis

Discussion in 'Custom Filters' started by Mike Yagi, Oct 11, 2018.

  1. Mike Yagi

    Mike Yagi New Member

    Joined:
    Mar 19, 2018
    Messages:
    23
    Hi,

    Is there a generic rule(s) that blocks javascript (inline and 3rd-party) on a per-domain basis? I mean if I want to disable javascript on whole domain, for example 'domain.com', is it possible?

    I'm using AdGuard Content Blocker for Samsung Internet
     
  2. Alex302

    Alex302 Filters Developer Staff Member Administrator

    Joined:
    Jul 20, 2012
    Messages:
    24,750
    Hi
    This is impossibe with AdGuard Content Blocker. You can use standalone app for Android from adguard.com with the rules:
    Code:
    domain1.com,example.org$$script[tag-content="a"][max-length="350000"]
    |http$script,domain=domain1.com|example.org
    
     
  3. Mike Yagi

    Mike Yagi New Member

    Joined:
    Mar 19, 2018
    Messages:
    23
    Thank you