From 0513c4fd27227f4dc511fa022de53f7fe5c2dd53 Mon Sep 17 00:00:00 2001 From: gorhill Date: Fri, 24 Apr 2015 07:12:12 -0400 Subject: [PATCH] this fixes #111 --- src/js/traffic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/traffic.js b/src/js/traffic.js index f49222d3d..f854e6b38 100644 --- a/src/js/traffic.js +++ b/src/js/traffic.js @@ -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); }