barbaz wrote:With an Untrusted list that doesn't fit on a tooltip, I'm not sure how that would work out performance-wise.
I'm not sure either, but you could always choose not to write rules for your blacklist, and just let them be handled like other non-trusted sites, if it became an issue.
I think you could keep the original scope of the addon, but instead of dynamic menus, you could create an interface similar to Adblock Plus blockable items.
The idea is to simplify it to a point where something can be completed in a short time.
You start with a list of requests made by the web page and their status
That is more complicated than you might think.
Then the user would be presented with a dialog containing a list of rule suggestions and the option to write their own rule. There could also be a section where specifics such as request type can be specified.
This is basically the original plan, and it hasn't been entirely thrown away; it might well be possible to add that later.
Also, I don't think your addon should modify SYSTEM/USER/whatever rulesets unless needed to enforce a rule created with it, but should instead create its own. Suggestion: Use the about:config preference
which would store your addon's rules under the ruleset named SABER.
Oh, I know
. I discovered that feature a month or two ago, and I certainly plan to use it. Saves having to distinguish between SABER rules and others, and makes uninstallation much cleaner, plus it means that you can easily write extra restrictions for specific sites in your USER ruleset without interfering. It does, of course, mean that you can't easily override SABER rules with less restrictive ones, so SABER would need to provide a way to exclude sites and let them be handled elsewhere.