Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
added one console.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jul 27, 2014
1 parent 77fff34 commit bd5ea1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/traffic.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd5ea1d

Please sign in to comment.