Vote UpVote

Changing the UA (User Agent) of a TWebBrowser component

The Road to Delphi – the user agent strings identify what a user is using to access a web resource. some websites may deliver (slightly) different content depending upon what browser is being used. For example, if you use a iphone user agent to browse to a wordpress site like http://theroadtodelphi.wordpress.com the result will see something like this : As you can see the content is designed to fit with a mobile device. in this post i will show how you can change the user agent of a TWebBrowser component. to change the UA of TWebBrowser you must call the OnAmbientPropertyChange event of the IOleControl ...
Favorite? Off-Topic? Rodrigo @ 2011-03-11 17:29


Visits: 1304
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)