diff --git a/3.5-Request-Control.md b/3.5-Request-Control.md index bea0933..84e1948 100644 --- a/3.5-Request-Control.md +++ b/3.5-Request-Control.md @@ -1,15 +1,38 @@ [Request Control](https://addons.mozilla.org/firefox/addon/requestcontrol/) | [GitHub](https://github.com/tumpio/requestcontrol) | [Help](https://github.com/tumpio/requestcontrol/wiki/Request-Control-Help) | [Testing Page](https://github.com/tumpio/requestcontrol/wiki/Testing-page-for-redirection-filtering) +Request Control v1.71+ now allows import/export of rules. To import one of these rules, copy the code into a json (text based) file and from Request Control's [Options>Settings](moz-extension://8103c00c-890a-4648-be34-7bc1c5ae8506/options/options.html#tab-settings) tab import the file. + :small_orange_diamond: clean imdb Author: [earthlng](https://github.com/earthlng) Example: http://www.imdb.com/title/tt0083943/?ref_=fn_al_tt_1 => http://www.imdb.com/title/tt0083943/ - * Pattern - * scheme: `http` or `http/https` - * host: `www.imdb.com` - * path: `title/*` , `name/*`, `character/*` - * Types: Document - * Action: Filter - * Filter URL Redirection: Off - * Trim URL Parameters: `ref_` +``` +[ + { + "pattern": { + "scheme": "*", + "host": [ + "www.imdb.com" + ], + "path": [ + "title/*", + "name/*", + "character/*" + ] + }, + "types": [ + "main_frame" + ], + "action": "filter", + "active": true, + "paramsFilter": { + "values": [ + "ref_" + ], + "pattern": "ref_" + }, + "skipRedirectionFilter": true + } +] +```