Find Jobs
Hire Freelancers

Micro conversion from TEmbeddedWB to TChromiumWindow (Delphi)

₹600-1500 INR

In Progress
Posted over 4 years ago

₹600-1500 INR

Paid on delivery
The project is just to tell me which properties I should use to migrate from TEmbeddedWB to TChromiumWindow. Only in the properties / functions below: TEmbeddedWB -> TChromiumWindow 1 - [login to view URL] -------------------------------------------------------- 2 - ShowMessage([login to view URL]('field', 0).value); -------------------------------------------------------- 4 - [login to view URL] -------------------------------------------------------- 5 - [login to view URL] -------------------------------------------------------- 6 - [login to view URL] -------------------------------------------------------- procedure WebBrowserFileDownload(Sender: TCustomEmbeddedWB; pmk: IMoniker; pbc: IBindCtx; dwBindVerb, grfBINDF: Cardinal; pBindInfo: PBindInfo; pszHeaders, pszRedir: PWideChar; uiCP: Cardinal; var Rezult: HRESULT); In this event, it is possible to get the file link that the browser would download, but without displaying the download information on the screen. The link is in the "pszRedir" variable. You can not display the download information by changing the variable: Rezult: = S_FALSE; -------------------------------------------------------- [login to view URL] -------------------------------------------------------- In this section, I modify an existing alert script not to be displayed in the browser as follows. var document:IHTMLDocument2;novoScript:IHTMLDOMNode; begin document := [login to view URL] as IHTMLDocument2; if Assigned(document) then begin novoScript := [login to view URL]('script') as IHTMLDOMNode; (novoScript as IHTMLScriptElement).text := 'function alert(s){}'; ([login to view URL] as IHTMLDOMNode).appendChild(novoScript); end; end -------------------------------------------------------- In this part, I prevent the "confirm" message from being displayed. html <input type="submit" name="button" value="informacao" onclick="return confirm(mensagem);" id="button" class="botao" /> [login to view URL]('button', 0).onclick:='true'; ----- Only that.
Project ID: 21739592

About the project

Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of BRAZIL
Maceio, Brazil
5.0
8
Member since Mar 18, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.