Index: lib/api.js |
diff --git a/lib/api.js b/lib/api.js |
index 1bb849e06996c05af2d78eac588d43baf51971b8..9f77c73b64ce250b015a842cccf69a8063b3580e 100644 |
--- a/lib/api.js |
+++ b/lib/api.js |
@@ -17,6 +17,7 @@ |
var API = (function() |
{ |
+ const {Services} = Cu.import("resource://gre/modules/Services.jsm", {}); |
var Filter = require("filterClasses").Filter; |
var Subscription = require("subscriptionClasses").Subscription; |
var SpecialSubscription = require("subscriptionClasses").SpecialSubscription; |
@@ -192,7 +193,7 @@ var API = (function() |
getElementHidingSelectors: function(domain) |
{ |
- return ElemHide.getSelectorsForDomain(domain, false); |
+ return ElemHide.getSelectorsForDomain(domain, ElemHide.ALL_MATCHING, false); |
sergei
2017/08/11 12:49:38
see https://github.com/adblockplus/adblockpluscore
|
}, |
getPref: function(pref) |