Changes between Initial Version and Version 1 of Ticket #2031


Ignore:
Timestamp:
02/23/2015 04:23:37 PM (5 years ago)
Author:
greiner
Comment:

I made the "What to change" section a bit more specific. Feel free to change the parts that don't correspond with what you had in mind.

Note that domains are still being whitelisted by manually constructing such a filter so are you also suggesting to introduce a function in the core for whitelisting a domain?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2031 – Description

    initial v1  
    66 
    77=== What to change === 
    8 Move it into the core. 
     8Add `isActiveOnDomain(string domain)` method to `Matcher` core module which should check for a filter of the form `@@||example.com^$document` and return `true` if it exists and otherwise `false`. 
     9 
     10This should subsequently be called in platform-specific code instead of manually checking whether the extension is enabled on a particular domain. 
    911 
    1012=== Additional references ===