mirror of https://github.com/gorhill/uBlock.git
this fixes #1204
This commit is contained in:
parent
06b44c7ceb
commit
19518aed60
|
@ -2,7 +2,7 @@
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
|
|
||||||
"name": "uBlock Origin",
|
"name": "uBlock Origin",
|
||||||
"version": "1.5.5",
|
"version": "1.5.6",
|
||||||
|
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_extShortDesc__",
|
"description": "__MSG_extShortDesc__",
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
// https://github.com/gorhill/uBlock/issues/1124
|
// https://github.com/gorhill/uBlock/issues/1124
|
||||||
// Looks like `contentType` is on track to be standardized:
|
// Looks like `contentType` is on track to be standardized:
|
||||||
// https://dom.spec.whatwg.org/#concept-document-content-type
|
// https://dom.spec.whatwg.org/#concept-document-content-type
|
||||||
if ( (document.contentType || '').startsWith('image/') ) {
|
if ( (document.contentType || '').lastIndexOf('image/', 0) === 0 ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
|
|
||||||
"name": "uBlock Origin",
|
"name": "uBlock Origin",
|
||||||
"version": "1.5.5",
|
"version": "1.5.6",
|
||||||
|
|
||||||
"default_locale": "en",
|
"default_locale": "en",
|
||||||
"description": "__MSG_extShortDesc__",
|
"description": "__MSG_extShortDesc__",
|
||||||
|
|
Loading…
Reference in New Issue