Recensioni per Neat URL
Neat URL di Geoffrey De Belie
Recensione di The Beard Below My Chin
Valutata 4 su 5
di The Beard Below My Chin, 7 anni faFrom a glance the rules are not easy on the eyes and looks like an inconvenience to maintain. It could be improved if they were formatted by newline and there was a switch for case sensitivity. With uMatrix as inspiration, I propose this format and I fully understand if this is out of the scope of the project.
retain domain (case sensitive | insensitive) (comma separated params/spaces ignored from here){newline} //keep matching params, remove everything else
delete domain (case sensitive | insensitive) (comma separated params/spaces ignored from here){newline} //remove matching params, keep everything else
cutoff domain (case sensitive | insensitive) (relax = $/|force = $$/) (single param){newline} //remove all parameters after matching single param
ignore domain{newline} //no operation, paramerters untouched/whitelist
local rules and ignore override global rules.
example:
delete * sensitive badparam, evilparam, etc //globally remove, case sensitive
retain * insensitive okparam, goodparam, etc //globally keep, case insensitive
delete website.* sensitive evilref, badstuff, etc //locally remove, case sensitive
retain website.* sensitive evilref, badstuff, etc //locally keep, case sensitive
delete website.* insensitive okparam, goodparam, etc //locally remove, bypass global rules, case insensitive
retain somesite.com insensitive badparam, evilparam, etc //locally keep, bypass global rules, case insensitive
cutoff somesite.com sensitive force okparam //trim all parameters after 'okparam', relax = $/, force = $$/
ignore anothersite.com //whitelist
retain domain (case sensitive | insensitive) (comma separated params/spaces ignored from here){newline} //keep matching params, remove everything else
delete domain (case sensitive | insensitive) (comma separated params/spaces ignored from here){newline} //remove matching params, keep everything else
cutoff domain (case sensitive | insensitive) (relax = $/|force = $$/) (single param){newline} //remove all parameters after matching single param
ignore domain{newline} //no operation, paramerters untouched/whitelist
local rules and ignore override global rules.
example:
delete * sensitive badparam, evilparam, etc //globally remove, case sensitive
retain * insensitive okparam, goodparam, etc //globally keep, case insensitive
delete website.* sensitive evilref, badstuff, etc //locally remove, case sensitive
retain website.* sensitive evilref, badstuff, etc //locally keep, case sensitive
delete website.* insensitive okparam, goodparam, etc //locally remove, bypass global rules, case insensitive
retain somesite.com insensitive badparam, evilparam, etc //locally keep, bypass global rules, case insensitive
cutoff somesite.com sensitive force okparam //trim all parameters after 'okparam', relax = $/, force = $$/
ignore anothersite.com //whitelist