Rank: Advanced Member Groups: Member
Joined: 1/2/2017 Posts: 32
|
Please help,
I've noticed that the EO-WebBrowser out-of-the-box, allows drag/drop to occur on <a> anchor links, that copies the url from the EO-WebBrowser is on, to other applications, like IE11.
To explain further. If I have a EO-WebBrowser control navigate to a simple web page that contains an anchor link <a> element, and then move the mouse cursot of the link, and press left button, then drag to some other application that accepts urls/text from drag/drop operations, like Word, IE11, Edge, and others, the url on the <a> link will be copied, and in the case the drop spot is something like IE11, it will auto-navigate to the url.
How can one disable this from occurring?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
This feature is implemented by the Chromium browser engine and currently there is no interface to disable it. Sorry about it!
Thanks
|
Rank: Advanced Member Groups: Member
Joined: 1/2/2017 Posts: 32
|
Thanks for the reply. Is there anything we can do to the HTML to prevent <a> anchor elements from being susceptible to this?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
You can try handling drag/drop related event but that would be out of the scope of our support since we generally do not provide support on coding inside your page. You can use Google Chrome for testing/debugging purpose and if you can disable this behavior with Google Chrome, you can apply the same code with EO.WebBrowser and it should work.
|