improve ruleset unmarshalling behavior if there isnt a top level rule key
This commit is contained in:
@@ -15,3 +15,19 @@ rules:
|
||||
requestmodifications:
|
||||
- name: ForwardRequestHeaders
|
||||
params: []
|
||||
|
||||
- domains:
|
||||
- quantamagzine.org
|
||||
responsemodifications:
|
||||
- name: BlockElementRemoval
|
||||
params:
|
||||
- "#postContent"
|
||||
|
||||
- domains:
|
||||
- techcrunch.com
|
||||
responsemodifications:
|
||||
- name: ModifyIncomingScriptsWithRegex
|
||||
params:
|
||||
- "window\\.location"
|
||||
- |
|
||||
{origin: "techcrunch.com"}
|
||||
|
||||
Reference in New Issue
Block a user