mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-01 16:33:06 +01: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
|
||||
// ...
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user