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.

Html document compare

Post Reply
snowdev
Posts: 4
Joined: Tue Jun 13, 2023 3:38 pm

Html document compare

Post 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.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Html document compare

Post 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.
snowdev
Posts: 4
Joined: Tue Jun 13, 2023 3:38 pm

Re: Html document compare

Post 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.
Post Reply