This is very good, but how can I check it? I have not seen any site that such a check was indicative. How can I test this, or where, if I know the answer?I updated CEF4Delphi again with a new procedure : TChromium.ClearDataForOrigin
It can be used to delete the storage data from a URL. The "aStorageTypes" parameters can have these values :
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.
Update to CEF 83.4.2
Re: Update to CEF 83.4.2
Yes, that's where I looked. https://chromedevtools.github.io/devtoo ... neOverride But I think esperementally means that it may not work, and not what will be removed in the future, or not?)
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 83.4.2
http://www.sharonminsuk.com/code/storage-test.html
I used that page to test the option to clear the local storage and it works fine
I used that page to test the option to clear the local storage and it works fine
Re: Update to CEF 83.4.2
Hello,
Can you tell me, how to update version?
Is the method the same as the installation process?
or i need remove the last version first?
Thanks, regards
Can you tell me, how to update version?
Is the method the same as the installation process?
or i need remove the last version first?
Thanks, regards
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 83.4.2
It's safer to uninstall the old version first. Read this :
viewtopic.php?f=8&t=772#p3481
viewtopic.php?f=8&t=772#p3481
Re: Update to CEF 83.4.2
Code: Select all
Chromium1RenderCompMsg(var aMessage: TMessage; var aHandled: Boolean);
aMessage.Msg = WM_LBUTTONUP
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 83.4.2
It seems that Chromium only uses WM_LBUTTONDOWN
Re: Update to CEF 83.4.2
TChromium.SetUserAgentOverride
So how do I return it by default? It makes sense because if the field is empty you need to do something in the function)
So how do I return it by default? It makes sense because if the field is empty you need to do something in the function)
- salvadordf
- Posts: 4374
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Update to CEF 83.4.2
Execute a "Browser.getVersion" command to get the default user agent :
https://chromedevtools.github.io/devtoo ... getVersion
Use the TChromium.OnDevToolsMethodResult event to get the result of that command. The MiniBrowser demo has an example with another command to take a screenshot and it also uses TChromium.OnDevToolsMethodResult.
I guess you can also get the default user agent if you read the HTTP headers in a previous request.
The call TChromium.SetUserAgentOverride with the new or default value as the first parameter.
https://chromedevtools.github.io/devtoo ... getVersion
Use the TChromium.OnDevToolsMethodResult event to get the result of that command. The MiniBrowser demo has an example with another command to take a screenshot and it also uses TChromium.OnDevToolsMethodResult.
I guess you can also get the default user agent if you read the HTTP headers in a previous request.
The call TChromium.SetUserAgentOverride with the new or default value as the first parameter.