Changes between Version 6 and Version 10 of Ticket #7067


Ignore:
Timestamp:
11/04/2018 04:46:02 AM (22 months ago)
Author:
hfiguiere
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7067

    • Property Cc kzar mjethani sebastian sdixit added
  • Ticket #7067 – Description

    v6 v10  
    55 
    66Its effect is that instead of blocking the request, it will give the content of the "resource" instead. Resources are built into the WebExtension and cannot be third-party. 
     7 
     8The `$redirect` option requires that the URL contains a host (`||` or `*`) 
     9and also that a `$domain` or `$~third-party` option be present. 
    710 
    811Use case are as follow: 
     
    1316=== What to change === 
    1417 
    15 - In the file `filterClass.js` add support for the `$rewrite` option when  parsing the filters 
    16 - Add it to the unit tests 
    17 - Implement the resource retrieval 
     18- In the file `filterClass.js` add support for the `$rewrite` option when  parsing the filters, validating it. 
     19- Add it to the unit tests. 
     20- Implement the resource retrieval. 
    1821- Add relevant resources to a separate file like it is done for snippets. 
    1922