How can I edit Chrome MIME type mappings?

前端 未结 5 1522
[愿得一人]
[愿得一人] 2020-12-23 18:26

I opened a image/x-png type image in new tab, but Chrome just downloaded it. I googled it and found that Chrome doesn\'t interpret image/x-png as image fil

5条回答
  •  感动是毒
    2020-12-23 19:08

    There is a Chrome extension that can change the content-type and the disposition for any pattern, so it can be used to force png to display instead of download (but it is good for many other cases, I am using it to render txt as HTML): Modify Content-Type Chrome Extension

提交回复
热议问题