Index: lib/elemHide.js |
diff --git a/lib/elemHide.js b/lib/elemHide.js |
index 1f6429fda35be0e4060bd1e92e2b236388bcc4d2..9aa1ae3948540af980eda636d9530464c6951aa6 100644 |
--- a/lib/elemHide.js |
+++ b/lib/elemHide.js |
@@ -244,32 +244,6 @@ let ElemHide = exports.ElemHide = { |
return (key in filterByKey ? filterByKey[key] : null); |
}, |
- /** |
- * Returns a list of all selectors as a nested map. On first level, the keys |
- * are all values of `ElemHideBase.selectorDomain` (domains on which these |
- * selectors should apply, ignoring exceptions). The values are maps again, |
- * with the keys being selectors and values the corresponding filter keys. |
- * @returns {Map.<String,Map<String,String>>} |
- */ |
- getSelectors() |
- { |
- let domains = new Map(); |
- for (let key in filterByKey) |
- { |
- let filter = filterByKey[key]; |
- if (!filter.selector) |
- continue; |
- |
- let domain = filter.selectorDomain || ""; |
- |
- if (!domains.has(domain)) |
- domains.set(domain, new Map()); |
- domains.get(domain).set(filter.selector, key); |
- } |
- |
- return domains; |
- }, |
- |
/** |
* Returns a list of selectors that apply on each website unconditionally. |
* @returns {string[]} |