In another project, I used Delphi's built-in browser. But it performed poorly and displayed the site poorly in Windows. Now I want to rewrite the code for TMSFNCWebBrowser. But I've run into a problem. In the previous project, by clicking a button, I could access the content and find (for example) a specific word in the browser and the number of times it was mentioned. Here's the old code:
Everything worked. But when I tried your browser, I couldn't find EvaluateJavaScript. What can I replace it with? How can I find the word I need in a downloaded browser page?
Also, is it possible to save what the browser displays to an HTML file?
Yes, this is only available in TTMSFNCEdgeBrowser since it's a Windows specific feature. TTMSFNCWebBrowser is cross platform but doesn't support this printing feature on all platforms.