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.
bullsito
Posts: 32 Joined: Sun Dec 13, 2020 4:19 pm
Post
by bullsito » Sun Dec 20, 2020 9:19 am
Hi again.
What is the event to check the protocol of a link.
lets say io have the follow link
Code: Select all
<a href="mycustom://data.com">click me</a>
or
Code: Select all
<a href="mycustom^http://data.com">click me</a>
on which event handle i can get the mycustom:// string so i do what i want wit this?
thank you.
salvadordf
Posts: 4042 Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:
Post
by salvadordf » Sun Dec 20, 2020 9:58 am
Hi,
Use the TChromium.OnBeforeBrowse event and check the request.url value.