mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 07:22:28 +02:00
added one console.debug
This commit is contained in:
parent
77fff344b0
commit
bd5ea1d843
@ -76,11 +76,12 @@ var onBeforeRequest = function(details) {
|
|||||||
|
|
||||||
// Not blocked?
|
// Not blocked?
|
||||||
if ( reason === false || reason.slice(0, 2) === '@@' ) {
|
if ( reason === false || reason.slice(0, 2) === '@@' ) {
|
||||||
|
//console.debug('µBlock> onBeforeRequest()> ALLOW "%s" (%o)', details.url, details);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Blocked
|
// 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
|
// https://github.com/gorhill/uBlock/issues/18
|
||||||
// Do not use redirection, we need to block outright to be sure the request
|
// Do not use redirection, we need to block outright to be sure the request
|
||||||
|
Loading…
Reference in New Issue
Block a user