| Index: lib/cssInjection.js |
| =================================================================== |
| --- a/lib/cssInjection.js |
| +++ b/lib/cssInjection.js |
| @@ -176,17 +176,17 @@ |
| RegExpFilter.typeMap.GENERICHIDE); |
| selectors = ElemHide.getSelectorsForDomain( |
| hostname, |
| specificOnly ? ElemHide.SPECIFIC_ONLY : ElemHide.ALL_MATCHING |
| ); |
| for (let filter of ElemHideEmulation.getRulesForDomain(hostname)) |
| - emulatedPatterns.push({selector: filter.selector, text: filter.text}); |
| + emulatedPatterns.push({selector: filter.code, text: filter.text}); |
| } |
| if (!inline && !updateFrameStyles(sender.page.id, sender.frame.id, |
| selectors, "standard")) |
| { |
| inline = true; |
| } |