This commit is contained in:
gorhill 2016-01-11 01:38:29 -05:00
parent 06b44c7ceb
commit 19518aed60
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "uBlock Origin",
"version": "1.5.5",
"version": "1.5.6",
"default_locale": "en",
"description": "__MSG_extShortDesc__",

View File

@ -32,7 +32,7 @@
// https://github.com/gorhill/uBlock/issues/1124
// Looks like `contentType` is on track to be standardized:
// https://dom.spec.whatwg.org/#concept-document-content-type
if ( (document.contentType || '').startsWith('image/') ) {
if ( (document.contentType || '').lastIndexOf('image/', 0) === 0 ) {
return;
}

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "uBlock Origin",
"version": "1.5.5",
"version": "1.5.6",
"default_locale": "en",
"description": "__MSG_extShortDesc__",