Solved

TEMBEDDEDWB how can i change its user agent ?

Posted on 2016-11-16
8
117 Views
Last Modified: 2016-11-18
i am using TEMBEDDEDWB  i want to change its user agent from default to firefix user agent as example any idea how ?
0
Comment
Question by:dolphin King
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 41891016
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
 

Author Comment

by:dolphin King
ID: 41891071
mess typing helpful URL but embeddedwb has property with user agent but it didn't pointed to the user agent that i set .
0
 
LVL 37

Expert Comment

by:Geert Gruwez
ID: 41891075
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:dolphin King
ID: 41891077
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
 
LVL 27

Expert Comment

by:Sinisa Vuk
ID: 41891432
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
 

Author Comment

by:dolphin King
ID: 41891662
Thank sinisa what is the different between
useragentmode uaInternal

and
UserAgentMode:=uaRegistry;

Open in new window

0
 
LVL 27

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 41892518
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
 

Author Closing Comment

by:dolphin King
ID: 41892761
thank you very much that was really helpful
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question