| Index: lib/contentPolicy.js |
| =================================================================== |
| --- a/lib/contentPolicy.js |
| +++ b/lib/contentPolicy.js |
| @@ -173,17 +173,17 @@ var Policy = exports.Policy = |
| if (frame == testSitekeyFrame) |
| [testSitekey, testSitekeyFrame] = getSitekey(frames.slice(i + 1)); |
| } |
| } |
| if (!match && contentType == "ELEMHIDE") |
| { |
| - match = location; |
| + match = ElemHide.getFilterByKey(location); |
|
tschuster
2015/11/05 15:39:36
So this is better, but we should still document th
Wladimir Palant
2015/11/06 11:29:00
Done.
|
| location = match.text.replace(/^.*?#/, '#'); |
| if (!match.isActiveOnDomain(docDomain)) |
| return response(true, false); |
| let exception = ElemHide.getException(match, docDomain); |
| if (exception) |
| { |