Embedded Chromium does not have the same protection as stand-alone Chrome does when it comes to warning users about "bad sites". Users of Chrome are familiar with the warning screen that comes up when you attempt to navigate to a web site that Google has detected malware or other nefarious web elements on. However, rep开发者_JAVA百科eating this operation in embedded Chromium does not lead to the warning screen. Does anyone know how to reproduce this capability so I can add it to my embedded Chromimum project (in Delphi 6 Pro)? If someone has "traced out" the web calls necessary to recreate this capability I'd like to know.
You can check a URL against the Google lists of suspected phishing and malware pages using the Google Safe Browsing API
. to see how access this API from delphi check this article Using the Google Safe Browsing API from Delphi
from here you can integrate the code of the article inside of your own project.
精彩评论