Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dropping multiple files to Safari changes the file counter to 0

I wanna handle file drop in a webpage. If a user drag multiple files, there is a red circle counter of file count in OsX. It looks like this:

dragged files in OsX

When I drag them over Safari, the counter changes to 0:

enter image description here

Can I change this behaviour? to work the same way in safari?

like image 610
Pengő Dzsó Avatar asked Jan 06 '15 11:01

Pengő Dzsó


1 Answers

TLDR; You cannot. I'm sorry.

More tests: It's on application (browser) level. When you drag to Safari any kind of files in any webapp with dropdown ability, even iCloud, you will have same result as you show. On Chrome you will have diferent results. Counter will show you last result. Ex. when you drag files directly from dictionary, you will got counter of two, but when you drag on safari and then move cursor on chrome you will got zero.

You must change Safari code to fix that ;)

like image 77
Bajorek Avatar answered Sep 26 '22 22:09

Bajorek