Not upload and not block URLs either

Post Reply
dilfich
Posts: 239
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: 2966
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