Solved

TEMBEDDEDWB how can i change its user agent ?

Posted on 2016-11-16
8
56 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
  • 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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 26

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 26

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

813 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now