The dragDrop Event





The dragDrop event occurs whenever a system item, such as a file or Internet shortcut, is dropped onto the window using the host system's drag and drop mechanism. The typical response for the browser is an attempt to load the item
into the browser window. If the drag and drop event handler returns true, the browser will load the item as appropriate. If the drag and drop operation is canceled, however, the event handler returns false.
The dragDrop event includes a property called data. This property is a string that contains the URL of the object that was dropped. You can use the data property in conjunction with a parsing script to examine the URL for attempts to load incompatible pages or undesired sites.
Domain Name Search
|