I'm trying to limit the files shown in the pop-up file selector when using chrome to just csv files (I would settle for just text files including csvs).
I have tried the following accept
options:
text/csv
; All files showntext/comma-separated-values
; All files shownapplication/csv
; All files shownapplication/excel
; All files shownapplication/vnd.ms-excel
; 97-03 Excel workbooks, but no csvstext/*
; Some text files shown, but no csvsapplication/*
; Some application files shown, but no csvsAm I missing something?
The solution is simple, although not very intuitive given the other mime types.
Just use .csv
and Chrome will filter your files properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With