1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-02 17:19:38 +02:00

remove experimental pseudo-redirector for the time being

This commit is contained in:
Raymond Hill 2018-04-02 04:47:24 -04:00
parent 67c1d90d7a
commit fd78f9b743
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -200,18 +200,7 @@ vAPI.net.registerListeners = function() {
let onBeforeRequestClient = this.onBeforeRequest.callback;
let onBeforeRequest = function(details) {
normalizeRequestDetails(details);
let r = onBeforeRequestClient(details);
if (
r !== undefined &&
r.redirectUrl !== undefined &&
details.type === 'xmlhttprequest'
) {
r.redirectUrl = pseudoRedirector.start(
details.requestId,
r.redirectUrl
);
}
return r;
return onBeforeRequestClient(details);
};
if ( onBeforeRequest ) {