Drag and Drop *FROM* a browser?

前端 未结 2 736
再見小時候
再見小時候 2020-12-29 04:31

Dragging items into a browser is pretty well documented, and HTML5 makes this easier.

However, I\'m wondering if and how it\'s possible to drag \'n\

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-29 05:22

    Conceptually Yes, this is possible. But it would be the OS/application handling the drop to decide what to do with it. In fact you can do exactly what you describe with chrome. Open a new chrome window and drag a link to it. It navigates there. Drag a link to your desktop. In Win7 it creates a shortcut/link to that page.

    What you are talking about is not HTML drag and drop but actually at an OS/application level. And would have to be handled with an application language, not the browser HTML.

提交回复
热议问题