Closed Rtizer-9 closed 4 years ago
Hmmm. That does sound interesting.
Currently default vs. custom rules are identified as being (or not being) in the default rules file of the add-on, so I think this could easily be done.
In the mean time, here’s a little work-around to merge rules outside of CleanLinks with jq
:
a.json
b.json
jq -s '.[0] * .[1]' a.json b.json > c.json
c.json
I guess an “undo” button would fit your needs, and cover more use cases as well.
In the end I’ve also added a “Reset Default Rules” button.
Recently I was modifying a particular rule and had to delete it but accidentally deleted one more rule which got selected after it.
Now, to bring that default rule the only option I had was to use "reset rules" which unfortunately also removes every custom rule. So an option which bring the default state of default rules WITHOUT interfering the custom rules would be of great help.