-
Notifications
You must be signed in to change notification settings - Fork 480
[Request] Group similar rules with different types into a single rule with many types #825
Comments
Please provide sensible title to issue you open, these are used for others to lookup issues, and it helps by not burdening me with the task of having to edit your issue. Is the following excerpt not clear in CONTRIBUTING?
|
Apologies, I will take this into consideration in the future. |
this makes things a little more complicated syntax wise because then multiple ways of writing rules exist but it makes the list a lot smaller. what i think that would be even more effient if you go that route would be meta rules like "all-except-cookies" or "video-frame" which is basically a generic row that can be applied to any domain you like and that can be changed globally. if umatrix one day become more fine grained this could prove handy. they would be defined with a directive and can then be used like regular request types. |
Rules have to map to |
this would still have the same syntax. just more keywords for type. for example:
this would allow every request on yahoo.com to search.yahoo.com except cookies for this to work you would have to add a new directive: for example: this could even be expanded for a whole scope by adding destinations to the syntax. this way you could reuse a ruleset made for one website for another or make templates for general types of websites and only adjust whats different between them. for example to allow embedded youtube videos easily on a set of sites without having to allow google globally. this would also be useful to temporarily unbreak sites like suggested here(point 2) https://discourse.mozilla.org/t/support-umatrix/5131/34 and it could also be used to give the host lists a different default behavior
for example: i dont know if it is really needed and its a big change but i think if that if the syntax should be extended this would be a good and flexible way. |
I was thinking of something along the lines of:
|
Yeah, the idea is that the |
@ArchangeGabriel |
That was my understanding of your suggestion, and what I was planning to do, including keeping the types ordered as per current order in the matrix UI. |
@gorhill |
As I see it, the main goal of this request is to make "My rules" tab easier to work with.
|
That’s a good idea but it’s not really what I was after in this request. But, I am finding its getting a bit messy as I have lots of rules and in particular multiple rules for the same domains. So I think combining rules for the same domain would solve this and make the my rules tab a lot neater and easer to work with as a result. |
To keep the “my rules” page tidy is it possible to have more than one request type per rule.
google.com google.com xhr,frame,other allow
thanks
The text was updated successfully, but these errors were encountered: