How can I edit Chrome MIME type mappings?

前端 未结 5 1491
[愿得一人]
[愿得一人] 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:03

    Apparently, Chrome does not have its own mime-handling database, but uses that of your desktop environment.

    In my XFCE4-based environment, for example, the settings are controlled through the xfce4-settings app (xfce4-mime-settings specifically).

    On a Windows desktop, you'd go through the "Default Programs" part of the "Control Panel", as described in (painful) detail here.

提交回复
热议问题