How to drag link from another window and using the javascript in the main window to intercept the link and add customized handler?
The goal is to have an event handler in the main window, then whenever a new link from different browser window is dragged into the main window, the dropped link will be handled by the main window's handler instead of the default browser behavior --- load the linked page in the main window. Any suggestion on how to achieve this in a browser compatible way? Thanks.