TEMBEDDEDWB how can i change its user agent ?

i am using TEMBEDDEDWB  i want to change its user agent from default to firefix user agent as example any idea how ?
dolphin KingAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Sinisa VukConnect With a Mentor Commented:
With uaRegistry - it writes agent into registry - then all instance of IE will reuse this agent too...
uaInternal - will restore registry back and temporary set agent for current instance of EmbeddedWB

(with look into source)
0
 
Geert GOracle dbaCommented:
firefix ?
the fox has left the hen house ?

here is a link on how to do it
https://theroadtodelphi.com/2011/03/11/changing-the-ua-user-agent-of-a-twebbrowser-component/

further down the page is a link for other user agent strings
0
 
dolphin KingAuthor Commented:
mess typing helpful URL but embeddedwb has property with user agent but it didn't pointed to the user agent that i set .
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Geert GOracle dbaCommented:
wow ... i got a spot of trouble in understanding that sentence
what language is that ? it's not very good english, not the grammar part anyway

if i read correctly  ... doesn't work ?
0
 
dolphin KingAuthor Commented:
TEmbeddedwb
have a property to set User agent , when ever i set custom user agent into that property it does not work .
still have the same Default user agent . english is not my first language i speak German ...
0
 
Sinisa VukCommented:
try to set>
- internal/temporary
EmbeddedWB1.UserAgent:='My agent';
EmbeddedWB1.UserAgentMode:=uaInternal;

Open in new window


- registry mode:
EmbeddedWB1.UserAgent:='My agent';
EmbeddedWB1.UserAgentMode:=uaRegistry;

Open in new window


-return to default
EmbeddedWB1.UserAgentMode:=uaDefault;

Open in new window

0
 
dolphin KingAuthor Commented:
Thank sinisa what is the different between
useragentmode uaInternal

and
UserAgentMode:=uaRegistry;

Open in new window

0
 
dolphin KingAuthor Commented:
thank you very much that was really helpful
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.