If I drag and drop a link or image from my computer to chromium window it replaces the content with the dropped object.
Is there any way to totally disable drag and drop external resources to my chromium window?
Thanks
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Disable dropping images/links to chromium window
- salvadordf
- Posts: 4565
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Disable dropping images/links to chromium window
Use TChromium.OnBeforeBrowse and check the "request.url" value to block unwanted URLs.
Read this for more information about that event :
https://magpcss.org/ceforum/apidocs3/pr ... bool,bool)
Read this for more information about that event :
https://magpcss.org/ceforum/apidocs3/pr ... bool,bool)