Procedure TBaseForm. WbBeforeNavigate2 (Sender: TObject;
Const pDisp: IDispatch; Var URL, Flags, TargetFrameName PostData,
Headers: OleVariant; Var Cancel: WordBool);
The begin
Cp. Excute (URL);
Cancel:=True;
end;
Users click on a link on the page, the program will stop browsing operation and make some action based on the URL
Please use TChromium, how to achieve this function?
CodePudding user response:
The building Lord, please remember how to solve this problem?