Page 1 of 2

[Done] Create domain exceptions for rules in subscriptions

Posted: Sun May 23, 2010 4:02 pm
by Hubird
How about adding the ability to disable a hiding rule only for a specific page to the blockable items list context menu (like we can for blocking rules). We don't need to add any more entries to the context menu the existing "Add exception rule for item" can be used.

For example if we had the filter

Code: Select all

###biguglyadbox
And a user discovered it was causing problems on example.com he or she could simply right click on it in the blockable items list and choose "Add exception rule for item" which would then create a new rule

Code: Select all

~example.com###biguglyadbox
Also I thought about putting these sorts of rules under the "My exceptions rules" section but I guess since they are not strictly exception rules they should stay in the "My Element Hiding rules" section.

Re: [Suggestion] Quickly create hiding rule with exception

Posted: Wed May 26, 2010 7:48 am
by Wladimir Palant
I thought we had this feature for a while now? Just tried it with an element hiding rule - "Disable this filter on example.com" context menu item is enabled and seems to adjust the filter correctly. This won't work for filters in filter subscriptions of course - no way to change those. Is that your problem or is there another scenario where this doesn't work?

Re: [Suggestion] Quickly create hiding rule with exception

Posted: Wed May 26, 2010 8:25 am
by Hubird
I would like the user to be able to quickly and easily create an exception rule for an element hide from the context menu (at the moment all we can do it disable the rule all together).

Image

Re: [Suggestion] Quickly create hiding rule with exception

Posted: Wed May 26, 2010 8:29 am
by Wladimir Palant
Hubird, this must be a filter from a filter subscription - normally you would also have "Disable this filter on au.yahoo.com" in the menu.

Re: [Suggestion] Quickly create hiding rule with exception

Posted: Wed May 26, 2010 8:31 am
by Hubird
Wladimir Palant wrote:Hubird, this must be a filter from a filter subscription - normally you would also have "Disable this filter on au.yahoo.com" in the menu.
That's correct. The screen shot is a mock up of what I am suggesting. Disabling a generic hide is not always the best solution for a user. I'm after a quick and easy way to create a hiding rule with a domain exception.

Re: [Suggestion] Quickly create hiding rule with exception

Posted: Sun Jun 06, 2010 10:03 am
by Hubird
Any thoughts on this, did I not make myself clear ?

Re: [Suggestion] Quickly create hiding rule with exception

Posted: Sun Jun 06, 2010 4:42 pm
by Wladimir Palant
I think I understood what you mean - you want the ability to create a rule that will work as a "modifier" for an existing element hiding rule (which might not be editable itself because in a filter subscription). While the functionality is clearly desirable, I don't think that this is the right way - having one rule influence another in this way will be problematic both for the software and the user. Some way to disable/re-enable rules on domains without having to modify the filter text would be a nice feature however. The plan goes like this:

1) "Disable filter on ..." context menu entry is available for all filters, including the ones from filter subscriptions. This means both blocking and element hiding rules.
2) When the user uses this context menu entry the filter stays unchanged, a modifier like "~example.com" is stored for it however. This modifier survives filter subscription updates just like the "disabled" flag does.
3) When a filter is displayed (in Blockable Items or Preferences) its "full" form is used, meaning that existing modifiers are added to the filter text. Context menu entries like "Re-enable filter on ..." allow removing modifiers.

Moving to "Future development" to get some comments on that proposal.

Re: Create domain exceptions for rules in subscriptions

Posted: Sun Jun 06, 2010 9:43 pm
by Michael
I would suggest that when Disable filter on ... is selected for subscription filters the rule should be automatically disabled and an identical filter with the exception appended should be created in the relevant personal filters section; this solution would reduce the additional development time required would make the changes clearer to the user.

Re: Create domain exceptions for rules in subscriptions

Posted: Mon Jun 07, 2010 8:37 am
by Wladimir Palant
The problem with that suggestion: if the filter subscription changes that filter (probably to address the very same issue) the user suddenly gets two filters, both enabled.

Re: Create domain exceptions for rules in subscriptions

Posted: Sun Aug 15, 2010 4:53 am
by Hubird
Wladimir Palant wrote:The problem with that suggestion: if the filter subscription changes that filter (probably to address the very same issue) the user suddenly gets two filters, both enabled.
If a hiding filter with a domain exception supersedes standard hiding filters (both general and for specific domain ones) then I feel having two is not a major issue (it is ultimately up to the end user to make to worry about duplicate rules of any type). The ability to create an exception rule from the context menu would also benefit those users who like to see certain ads for whatever reason (Google adsense comes to mind).

Re: Create domain exceptions for rules in subscriptions

Posted: Sat Jun 23, 2012 8:34 am
by Wladimir Palant
I rather propose this syntax:

Code: Select all

foo.example.com#@#biguglyadbox
This should disable the rule "##biguglybox" or "example.com##biguglybox" on foo.example.com. That's an exception rule, if it applies then the regular element hiding rule doesn't.

Re: Create domain exceptions for rules in subscriptions

Posted: Sat Jun 23, 2012 2:50 pm
by Wladimir Palant

Re: [Done] Create domain exceptions for rules in subscriptions

Posted: Sat Jun 23, 2012 3:28 pm
by Hubird
That was quick from proposed syntax to done :D

I guess the existing domain exception syntax will remain?

Re: [Done] Create domain exceptions for rules in subscriptions

Posted: Sat Jun 23, 2012 4:04 pm
by knight00931
Excuse me, will this syntax make problems on older version?

Re: [Done] Create domain exceptions for rules in subscriptions

Posted: Sat Jun 23, 2012 5:14 pm
by Wladimir Palant
No, Adblock Plus 2.0 and below will treat these rules as blocking rules (they don't meet the requirements for "simplified" element hiding syntax) - ones that can never block anything.