Index: lib/elemHide.js |
=================================================================== |
--- a/lib/elemHide.js |
+++ b/lib/elemHide.js |
@@ -378,7 +378,8 @@ |
getSelectorsForDomain: function(/**String*/ domain, /**Boolean*/ specificOnly) |
{ |
let result = []; |
- for (let key in filterByKey) |
+ let keys = Object.getOwnPropertyNames(filterByKey); |
+ for (let key of keys) |
{ |
let filter = filterByKey[key]; |
if (specificOnly && (!filter.domains || filter.domains[""])) |