Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle mime types #96

Open
brian6932 opened this issue Jul 28, 2022 · 1 comment
Open

Handle mime types #96

brian6932 opened this issue Jul 28, 2022 · 1 comment
Labels
enhancement Firefox bug Caused by a bug in firefox, help by voting on the bugizlla ssue !

Comments

@brian6932
Copy link

This extension should automatically handle the following mimes:
text/markdown
text/x-markdown
Currently in Firefox 102, it prompts the file picker on these mimes, while it should just open in the extension.
Yes I am aware that you can set your browser to handle markdown FTAs, however, this is not a proper solution.

@Cimbali
Copy link
Owner

Cimbali commented Jul 28, 2022

This is not supported by Firefox. Progress is tracked in this bugzilla bug. So I’m afraid the non-proper solution is the only one that has the merit of working, for now.

Note that our workaround on Linux (option 2) does not change file type associations however (i.e. which program opens which file type), but forces Firefox to consider markdown files as text/plain, and we then match all markdown file extensions. It only relies on modifying Firefox configuration, and nothing else.

@Cimbali Cimbali added enhancement Firefox bug Caused by a bug in firefox, help by voting on the bugizlla ssue ! labels Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Firefox bug Caused by a bug in firefox, help by voting on the bugizlla ssue !
Projects
None yet
Development

No branches or pull requests

2 participants