mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-07-01 12:30:23 +12:00
#1013: Firefox support
This commit is contained in:
parent
ed43097de8
commit
dbbd13a8d5
|
@ -1138,13 +1138,18 @@ var httpObserver = {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*if ( result.redirectUrl ) {
|
if ( result.redirectUrl ) {
|
||||||
channel.redirectionLimit = 1;
|
if ( type === 'main_frame' ) {
|
||||||
|
channel.cancel(this.ABORT);
|
||||||
|
vAPI.tabs.open({ tabId: details.tabId, url: result.redirectUrl });
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
/*channel.redirectionLimit = 1;
|
||||||
channel.redirectTo(
|
channel.redirectTo(
|
||||||
Services.io.newURI(result.redirectUrl, null, null)
|
Services.io.newURI(result.redirectUrl, null, null)
|
||||||
);
|
);
|
||||||
return true;
|
return true;*/
|
||||||
}*/
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue