From bd5ea1d843ff3d7d335e6b250203991ead3cf848 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 27 Jul 2014 12:08:08 -0400 Subject: [PATCH] added one console.debug --- js/traffic.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/traffic.js b/js/traffic.js index e16303b70..1da595296 100644 --- a/js/traffic.js +++ b/js/traffic.js @@ -76,11 +76,12 @@ var onBeforeRequest = function(details) { // Not blocked? if ( reason === false || reason.slice(0, 2) === '@@' ) { + //console.debug('µBlock> onBeforeRequest()> ALLOW "%s" (%o)', details.url, details); return; } // Blocked - //console.debug('µBlock> onBeforeRequest()> BLOCK "%s" because "%s"', details.url, reason); + //console.debug('µBlock> onBeforeRequest()> BLOCK "%s" (%o) because "%s"', details.url, details, reason); // https://github.com/gorhill/uBlock/issues/18 // Do not use redirection, we need to block outright to be sure the request