1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-01 16:33:06 +01:00
This commit is contained in:
gorhill 2015-04-24 07:12:12 -04:00
parent 5fbbec6f85
commit 0513c4fd27

View File

@ -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);
}