Reputation: 13110
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?
Upvotes: 8
Views: 2875
Reputation: 4717
The solution is simple, although not very intuitive given the other mime types.
Just use .csv
and Chrome will filter your files properly.
Upvotes: 5