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

Post Reply
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Not upload and not block URLs either

Post by dilfich »

How to block link loading except as Result:= RV_CANCEL; ?
When blocking, you need the status OK\200.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Not upload and not block URLs either

Post by salvadordf »

Hi,

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.
Post Reply