TWebBrowser is a VCL component available in the Delphi Internet tool-palette. It is defined in the `SHDocVw.pas` unit. It provides access to the Web browser functionality of Microsoft's Shell Doc Object and Control Library.
Questions tagged [twebbrowser]
476 questions
0
votes
1 answer
Builder C++/Turbo C++ WebBrowser. How to access the received HTML code
I use Borland Turbo C++ (like Builder c++ but less components).
When i do Webbrowser1->Navigate(MyURL) I receive the demanded website properly.
In my case it is only a text website, not even html code. I can see it in the Webbrowser's window.
How do…

Gregorek
- 263
- 4
- 16
0
votes
1 answer
EmbeddedWB & jQuery
How can I inject jQuery and execute a function inside an EmbeddedWB control and get it's result.
user1647411
0
votes
1 answer
webbrowser c++ buider how to prevent executing "mailto" when a link of this type is clicked
I use c++buider4 and TWebBrowser. How can I avoid "mailto" to be executed when this type of link is clicked? Actually, I dont want this link to be executed because when it's executed, it switch to mail application and open a new windows.
Thanks
0
votes
0 answers
Delphi: Log the GET request URLs used in Websites that are updating content via AJAX (TWebbrowser)
Using a TWebBrowser in Delphi, I'm showing a website that uses JSON to update its content. To get the source code of the newly updated content and load it into a Memo, I believe I have to get the URLs of the GET requests. Unfortunately, these are…

user2042924
- 3
- 1
0
votes
3 answers
finalization section not being run in a dll
I am trying to create a DLL in Delphi XE2 which will popup a form with a TWebBrowser component in it. When the WebBrowser.Navigate2 method is called the finalization section of the unit (or any unit) is not called when the application ends. If…

tmjac2
- 146
- 2
- 11
0
votes
1 answer
TWebbrowser causes AV - what to look for
I have a TWebbroser on a form wher I want to hide the scrollbars
On WebBrowser1DownloadComplete I put WebBrowser1.OleObject.document.body.scroll:='no';
But this results in an AV.
If I click continue I can see that the scrollbars are actually…

OZ8HP
- 1,443
- 4
- 31
- 61
0
votes
1 answer
Check if Element with ID has a value
How to check if "Some text value" in element p with Id = "SomeID" is there?
Here it is in a function form..
function…user1647411
0
votes
2 answers
OLE Control window handle error with WebBrowser and Delphi 2007
I have run into an issue a couple of weeks ago that appear to have no logical explanation. I'm building an application with Delphi 2007 using AlphaControls and a WebBrowser component placed on a form. The TWebBrowser fetches a banner from the web…

Bogdan Botezatu
- 579
- 1
- 9
- 25
0
votes
1 answer
How can I find the ComServer for a TWebBrowser Asynchronous Pluggable Protocol
I've currently implemented this demo code for an APP sucessfully, http://www.jasontpenny.com/blog/2010/03/23/custom-protocol-handler-in-delphi/, However it seems to only work if the application is a single form application.
What I have found is…

Scott Alexander
- 455
- 2
- 17
0
votes
2 answers
TEmbeddedWB / TWebbrowser mouse lag (object drag and drop)
I use a TEmbeddedWB in a Delphi project to display a HTML5/CSS3/Javascript game fullscreen. It uses IE9 embedded to render the page. That is working fine but i discover some lag, speed difference compared to other browsers and IE9 itself (when the…

Codebeat
- 6,501
- 6
- 57
- 99
0
votes
1 answer
Authentification on HTTP proxy in Delphi XE
I need a little help:
uses wininet, urlmon;
....
var proxy_info : PInternetProxyInfo;
....
begin
user:='mycooluser';
pass:='mycoolpass';
UserAgent:='MSIE';
New (proxy_info);
proxy_info^.dwAccessType := INTERNET_OPEN_TYPE_PROXY;
…

Red October
- 689
- 2
- 12
- 31
0
votes
1 answer
Delphi: How to check if webbrowser has successfully loaded the page?
I have a simple code:
WebBrowser1.Navigate('www.foo.com');
But of course sometimes the browsing fails and the browser displays the error message.
How can I catch when this happens?
I want this so that I can make a some sort of a custom log.

SmRndGuy
- 1,719
- 5
- 30
- 49
0
votes
1 answer
Delphi/C#: WebBrowser socks5 proxy (with username/password auth)
How to use SOCKS 5 proxy with login/password in WebBrowser (IE 8/9)?
In Delphi I tried something like this:
var
PIInfo: PInternetProxyInfo;
begin
New(PIInfo);
PIInfo^.dwAccessType := INTERNET_OPEN_TYPE_PROXY;
PIInfo^.lpszProxy :=…

Alex P.
- 3,697
- 9
- 45
- 110
0
votes
1 answer
Any way to tell content has changed with a TWebBrowser in DesignMode?
If a TWebBrowser is put into DesignMode (HTMLDocument2.designMode := 'On';), is there a way to detect changes to the document when a user types in the control, similar to an OnChange event of std ctrls like TEdit/TMemo?
Thanks

RaelB
- 3,301
- 5
- 35
- 55
-1
votes
1 answer
how to open web browser in unix box?
https://vitux.com/four-web-browsers-for-the-linux-command-line/
$ sudo apt-get install w3m w3m-img
i have an url generated in my unix machine and i wanna open that in web browser for which i am facing this problem.
i have tried installing these but…

Sushmitha N
- 23
- 3