mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 15:32:28 +02:00
this fixes #111
This commit is contained in:
parent
5fbbec6f85
commit
0513c4fd27
@ -353,7 +353,7 @@ var onRootFrameHeadersReceived = function(details) {
|
|||||||
|
|
||||||
// Check if the main_frame is a download
|
// Check if the main_frame is a download
|
||||||
// ...
|
// ...
|
||||||
if ( headerValue(details.responseHeaders, 'content-disposition').lastIndexOf('attachment', 0) === 0 ) {
|
if ( headerValue(details.responseHeaders, 'content-type').lastIndexOf('application/x-', 0) === 0 ) {
|
||||||
µb.tabContextManager.unpush(tabId, details.url);
|
µb.tabContextManager.unpush(tabId, details.url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user