Page 1 of 1

Html document compare

Posted: Thu Jun 15, 2023 10:41 pm
by snowdev
Does Cef4d have a native way to compare the opened document? For example, if its changed or something like this.

I would like to compare if a document has changed before save, open or new document.

Re: Html document compare

Posted: Fri Jun 16, 2023 9:23 am
by salvadordf
Hi,

The CEF API doesn't have any function to compare 2 web pages but you could extract the HTML or take a snapshot and compare them with the previous version of the web page.

Re: Html document compare

Posted: Fri Jun 16, 2023 11:32 am
by snowdev
Hi.

Yeah, I trying to extract the current html and compare with the last one.

I having some problems in pure string compare, I'll try other ways to compare. Thx.