Changes between Initial Version and Version 27 of Ticket #616


Ignore:
Timestamp:
01/15/2015 04:21:09 PM (5 years ago)
Author:
greiner
Comment:

I reflected the common consens in the issue description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #616

    • Property Platform changed from to Unknown
    • Property Cc mapx arthur trev manvel@… greiner sergz added
    • Property Component changed from Unknown to Core
    • Property Owner set to kzar
    • Property Priority changed from Unknown to P2
    • Property Keywords 2014q4 added
  • Ticket #616 – Description

    initial v27  
     1=== Background === 
    12Based on this ABP forum topic : https://adblockplus.org/forum/viewtopic.php?f=4&t=19860 
    23 
    3 Lain wrote: 
    4   It's often needed on sites with adblock detection to be able to disable generic hiding rules since such sites often using them to detect presence of adblock or break functionality for adblock users. It's possible to disable them completely using 'elemhide' but this blocks usage of site-specific hiding rules and breaks ability to hide content in third-party frames. 
     4Note that issue #647 is different to this one in that it's about disabling generic blocking filters. 
    55 
    6   So, I'd like to see something like `||site.name^$generichide` which will disable only filters which is not assigned to any specific domain. 
    7  
    8 famlam wrote, about the current effect of $elemhide: 
    9   Unlike $document, which is used to whitelist whole sites (mostly by users, hardly by list authors) and therefore should also affect it's subframes, the purposes of $elemhide I could find in filter lists are to work around adblock detection scripts and to fix sites of ad related sites. However, such anti-adblock scripts are rarely active in the (third-party) subframes on those same pages. So if we could limit the effects of disabling all hiding rules to only first-party sub- and top frames, that would be a win. 
     6=== What to change === 
     7- Introduce the `$generichide` filter option. 
     8- It should act similarly to the existing `$elemhide` option but limited to generic element hiding rules only. That means that generic element hiding filters should not be applied to the page specified within that exception filter. 
     9- Generic filters are those which are not limited to apply only on specified domains. Filters like `~example.com##.ad` should therefore also be treated as generic.