jpalawaga / Nakiri

Nakiri strips extraneous query parameters (e.g. ?utm_source=...) and click trackers off of URLs as you copy them.
https://nakiri.app
1 stars 0 forks source link

[Rules Engine] Consider how to best support correct broadness/specificity #12

Open jpalawaga opened 3 years ago

jpalawaga commented 3 years ago

There are a couple ways of going about the rules engine...

Perhaps one thing that could be done is to allow rules to "crossover." Perhaps we can mark rules as Strict: true/false which will allow us to retain QPs for certain domains. The inverse of this is also true, we could potentially have a "retain," list so that if one domain uses a QP that is otherwise bad, that we can make sure it is never removed.

This may have implications for the json going forward. So while it might not be super critical to have immediately, it might be worth something to design around just so we won't so quickly need multiple json formats. As the list of things that we cut are small, we're unlikely see much erroneous chopping.

jpalawaga commented 3 years ago

This is similar to #4.