How to block link loading except as Result:= RV_CANCEL; ?
When blocking, you need the status OK\200.
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.
Not upload and not block URLs either
- salvadordf
- Posts: 4040
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Not upload and not block URLs either
Hi,
Using the TChromium.OnBeforeResourceLoad event should be enough but you can also try these :
Using the TChromium.OnBeforeResourceLoad event should be enough but you can also try these :
- TChromium.OnBeforeBrowse and set "Result" to false.
- TChromium.OnResourceResponse and remove the "Origin" header from the request.