Solved

TEMBEDDEDWB how can i change its user agent ?

Posted on 2016-11-16
8
84 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
Independent Software Vendors: 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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