How to add suggestions to preferences dialog?
Posted: Fri Apr 28, 2006 6:46 pm
Judging from the comments I am receiving it is non-obvious for new Adblock (Plus) users that you can use wildcards in filters. They tend not to read (or not to understand) the text in Preferences, simply add the full URL and wonder why the ad comes back after reload.
I would like to offer a list with suggestions to help here. For example, if the user selects to block http://a.b.c/d/e/f/g/h?i, then the suggestions would be:
|http://a.b.c/d/e/f/g/h?*
|http://a.b.c/d/e/f/g/*
|http://a.b.c/d/e/f/*
|http://a.b.c/*
*/h?*
*/h?i|
The question is - where do I find a prominent location for this list in the already too full preferences dialog? Does somebody have ideas?
And then there is another question, maybe not really related. What do you think, would it make sence to add attribute selectors to normal filters as well? The syntax would be the same: */ad/*(ad) would only block images/links/whatever with URL containing /ad/ and class or id attribute being "ad". */ad/*(id^=ad) would block ads with id attribute starting with "ad".
The two things could be combined - you would be able to select the attributes you want to include in the suggestions and maybe also the specific part of them that you need. Does it make sense to add this functionality? Do you think it will be used?
Together it sound more like a "filter composer" - a separate dialog started from Preferences. A separate dialog definitely isn't a "prominent location" however and also not something newbies will discover easily.
I would like to offer a list with suggestions to help here. For example, if the user selects to block http://a.b.c/d/e/f/g/h?i, then the suggestions would be:
|http://a.b.c/d/e/f/g/h?*
|http://a.b.c/d/e/f/g/*
|http://a.b.c/d/e/f/*
|http://a.b.c/*
*/h?*
*/h?i|
The question is - where do I find a prominent location for this list in the already too full preferences dialog? Does somebody have ideas?
And then there is another question, maybe not really related. What do you think, would it make sence to add attribute selectors to normal filters as well? The syntax would be the same: */ad/*(ad) would only block images/links/whatever with URL containing /ad/ and class or id attribute being "ad". */ad/*(id^=ad) would block ads with id attribute starting with "ad".
The two things could be combined - you would be able to select the attributes you want to include in the suggestions and maybe also the specific part of them that you need. Does it make sense to add this functionality? Do you think it will be used?
Together it sound more like a "filter composer" - a separate dialog started from Preferences. A separate dialog definitely isn't a "prominent location" however and also not something newbies will discover easily.