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

Download and upload as a one-step process #1

Open
matthugs opened this issue Dec 15, 2017 · 1 comment
Open

Download and upload as a one-step process #1

matthugs opened this issue Dec 15, 2017 · 1 comment

Comments

@matthugs
Copy link
Owner

Currently we have scripts for download and separate scripts for upload. It would be great if we could cut the filesystem out of the matter, and host the emoji on the web.

@matthugs
Copy link
Owner Author

I investigated options for non-filesystem drag-and-drop browser functionality. Initially wasted a good amount of time eliminating the "A cool finding" section of https://www.thecssninja.com/javascript/gmail-dragout as a leveragable strategy. If that article was correct it would've paved a way to use exactly the same script for upload we already had. Seems like the features it alluded to are no longer available in either of chrome or firefox.

An alternative would be to pass over emoji only in the form of URLs, which could be parsed for emoji names and downloaded for the file. The first step would probably be to get the list of URLs through the DataTransfer interface for drag-and-drop browser functionality. I found this only worked as one would expect on Firefox, which is disappointing enough for me to not pursue the matter further. http://jsfiddle.net/t9qkb31n/

@matthugs matthugs changed the title Download and upload as a two-step process Download and upload as a one-step process Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant