From 941848f5fb7e0241030ad9b67d8e12643873e8ba Mon Sep 17 00:00:00 2001 From: Thorin-Oakenpants Date: Tue, 11 Jul 2017 16:30:23 +1200 Subject: [PATCH] Updated 3.5 Request Control (markdown) --- 3.5-Request-Control.md | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/3.5-Request-Control.md b/3.5-Request-Control.md index 0e4fd6b..7c506e4 100644 --- a/3.5-Request-Control.md +++ b/3.5-Request-Control.md @@ -9,28 +9,11 @@ Example: http://www.imdb.com/title/tt0083943/?ref_=fn_al_tt_1 => http://www.imdb ``` [ { - "pattern": { - "scheme": "*", - "host": [ - "www.imdb.com" - ], - "path": [ - "title/*", - "name/*", - "character/*" - ] - }, - "types": [ - "main_frame" - ], + "pattern": {"scheme": "*", "host": ["www.imdb.com"], "path": ["title/*", "name/*", "character/*"]}, + "types": ["main_frame"], "action": "filter", "active": true, - "paramsFilter": { - "values": [ - "ref_" - ], - "pattern": "ref_" - }, + "paramsFilter": {"values": ["ref_"],"pattern": "ref_"}, "skipRedirectionFilter": true } ]