| Index: lib/contentFiltering.js |
| =================================================================== |
| --- a/lib/contentFiltering.js |
| +++ b/lib/contentFiltering.js |
| @@ -255,17 +255,17 @@ |
| // described in issue #5864. Instead, we can just ask the content script to |
| // add styles for emulation filters inline. |
| if (!styleSheetRemovalSupported) |
| response.inlineEmulated = true; |
| return response; |
| }); |
| -port.on("elemhide.injectSelectors", (message, sender) => |
| +port.on("content.injectSelectors", (message, sender) => |
| { |
| updateFrameStyles(sender.page.id, sender.frame.id, message.selectors, |
| message.groupName, message.appendOnly); |
| }); |
| fetch(browser.extension.getURL("/snippets.js"), {cache: "no-cache"}) |
| .then(response => response.ok ? response.text() : "") |
| .then(text => |