diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index 00fe7da70..41cc1e84e 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "µBlock", - "version": "0.8.8.2", + "version": "0.8.8.3", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index a9933478d..18db68409 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -449,9 +449,15 @@ vAPI.net.registerListeners = function() { } var path = µburi.path; var pos = path.lastIndexOf('.'); + + // https://github.com/gorhill/uBlock/issues/862 + // If no transposition possible, transpose to `object` as per + // Chromium bug 410382 (see below) if ( pos === -1 ) { + details.type = 'object'; return; } + var ext = path.slice(pos) + '.'; if ( '.eot.ttf.otf.svg.woff.woff2.'.indexOf(ext) !== -1 ) { details.type = 'font';