You can use a TChromium component in off-screen mode (OSR).
First of all, read this page :
https://www.briskbard.com/index.php?lang=en&pageid=cef
Open the SimpleOSRBrowser demo and test your scripts.
After that you can remove the Panel1 (TBufferPanel) and delete the following procedures :
- All Panel1* event procedures and Panel1PaintParentBkg.
- chrmosrPaint
- chrmosrCursorChange
- chrmosrPopupShow
- chrmosrPopupSize
- chrmosrTooltip
- chrmosrBeforePopup
- chrmosrIMECompositionRangeChanged
As a consequence of all this you will be able to delete more controls and procedures.