Hi,
I would like to write a value in the 'Local Storage'. It is possible and how can I do this?
Thank you for help!
Kind Regards
Michael
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.
How to Write a value in the 'Local Storage'
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: How to Write a value in the 'Local Storage'
Hi,
If you can do something in pure JavaScript then you should be able to do the same in a CEF application with the CEF API or executing raw JavaScript code with TChromium.ExecuteJavaScript.
Please, read this document to know the details about the JavaScript integration in CEF :
https://bitbucket.org/chromiumembedded/ ... gration.md
That document has references to the C/C++ API but you'll find that all the examples have a Delphi demo inside the CEF4Delphi\demos\Delphi_VCL\JavaScript directory.
After reading that document, read the code comments in the DOMVisitor and JSExtension demos.
If you can do something in pure JavaScript then you should be able to do the same in a CEF application with the CEF API or executing raw JavaScript code with TChromium.ExecuteJavaScript.
Please, read this document to know the details about the JavaScript integration in CEF :
https://bitbucket.org/chromiumembedded/ ... gration.md
That document has references to the C/C++ API but you'll find that all the examples have a Delphi demo inside the CEF4Delphi\demos\Delphi_VCL\JavaScript directory.
After reading that document, read the code comments in the DOMVisitor and JSExtension demos.