From c7bb242302270a3c1dd41d1a8b45a2b9299b4149 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sat, 18 Jul 2015 09:15:08 -0400 Subject: [PATCH] this fixes the logging of cosmetic filters in iframes --- src/js/ublock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/ublock.js b/src/js/ublock.js index 1b4ddd81a..5128f05b8 100644 --- a/src/js/ublock.js +++ b/src/js/ublock.js @@ -396,7 +396,7 @@ var matchWhitelistDirective = function(url, hostname, directive) { var injectNow = function(tabId) { delete tabIdToTimerMap[tabId]; - µBlock.scriptlets.inject(tabId, 'cosmetic-logger'); + µBlock.scriptlets.injectDeep(tabId, 'cosmetic-logger'); }; var injectAsync = function(tabId) {