Changes between Version 17 and Version 18 of Ticket #6969


Ignore:
Timestamp:
11/08/2018 02:14:50 AM (21 months ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6969 – Description

    v17 v18  
    11=== Background === 
    2 Some circumvention need to block some properties from being read. So the snippet `abort-on-property-read` should do the trick. 
     2Some circumvention scripts depend on global properties on the `window` object. The execution of such scripts can be aborted by throwing an error when the `window` property is read. 
    33 
     4There is a technique in uBlock Origin called [https://github.com/uBlockOrigin/uAssets/blob/80b195436f8f8d78ba713237bfc268ecfc9d9d2b/filters/resources.txt#L1703 abort-on-property-read] that does this. 
    45 
    56=== What to change === 
    6 Add a snippet `abort-on-property-read` that prevent reading a property. 
     7Implement a snippet called `abort-on-property-read` that wraps a given property of the `window` object and throws an error if the property is read. 
     8 
    79 
    810=== Hints for testers ===