Hello,
sometimes CC-Cleaner blocks access to a webpage. Is there a way to detect this if my app is sure, that the webpage is alive? Maybe using content-len?
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.
Detect if Antivirus block my app
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Detect if Antivirus block my app
Perhaps using ping with the Indy components but the best solution would be to send a message to the cc-cleaner authors to add that website to the white list.
Re: Detect if Antivirus block my app
I'm getting an empty, white site in Chromium. Can i check SourceHTML <> ''?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Detect if Antivirus block my app
I'm not sure...
Perhaps the HTML code has something you can use to detect that it was created by cc-cleaner.
Check the response headers too.
Perhaps the HTML code has something you can use to detect that it was created by cc-cleaner.
Check the response headers too.
Re: Detect if Antivirus block my app
I want, but ... how can i do? In LoadEnd? Do you have an example for me?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Detect if Antivirus block my app
The MiniBrowser demo stores the response headers in the TMiniBrowserFrm.Chromium1ResourceResponse procedure.
Perhaps some header can be used to uniquely identify content created by cc-cleaner but I'm not sure. I've never done that.
Perhaps some header can be used to uniquely identify content created by cc-cleaner but I'm not sure. I've never done that.
Re: Detect if Antivirus block my app
I'll try, thank you!