DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search

You are not logged in.

Announcement

Forums are now closed as we moved them to google groups. You can use the following Google Groups to discuss about DebugBar and IETester products:

#1 2009-03-21 09:33:05

Nickolas
New member

User Agents

Well... sorry for my english.

User agents same all the ie version. So I didn't test my javascipt  codes.

http://img17.imageshack.us/img17/3937/ietester.th.jpg

Last edited by Nickolas (2009-03-21 09:33:42)

Offline

 

#2 2009-03-21 09:42:43

fabrice
DebugBar Support

Re: User Agents

Hm, that's not good :-( What is your OS version and IE default version installed ?

Offline

 

#3 2009-03-21 10:40:38

Nickolas
New member

Re: User Agents

Windows Vista Sp1 and IE 7

Thanks for your interest by the way

Last edited by Nickolas (2009-03-21 10:41:09)

Offline

 

#4 2009-03-21 11:07:36

fabrice
DebugBar Support

Re: User Agents

What is the result on this page :

http://www.my-debugbar.com/ietester/index_all.php

Does it happen all the time when you use IETester ?

Offline

 

#5 2009-03-21 11:35:20

Nickolas
New member

Re: User Agents

It seems doing this randomly. Sometimes right, sometimes wrong

Basic Info about browser loading this page

Info Value

HTTP header User Agent string:

Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.0.30618; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0) 


navigator userAgent  Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.0.30618; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)


Javascript IE version
(see below for JS code used)  IE 7


Conditional comments  Internet Explorer 7

Offline

 

#6 2009-03-21 14:49:42

Ricardo
Member

Re: User Agents

I think it's the Cache from one tab being partially used in the next tab.
Example: load that site in an IE7 tab, and then load it in an IE8 tab.
The "HTTP header User Agent string" will be the one from the first loaded tab.
Doing a "Refresh All Complete" should get it right.

Offline

 

#7 2009-03-21 18:10:11

fabrice
DebugBar Support

Re: User Agents

Good point Ricardo. I didn't test it, but will investigate on this side. If that's the case, I will try to isolate cache between ie versions in a future IETester release.

Thanks for the tip !

Nickolas, does it correct the problem when refreshing the cache ?

Offline

 

#8 2009-03-23 10:02:45

Nickolas
New member

Re: User Agents

yeap, fabrice.

There is no problem when i refreshing tab. I didnt notice that.

Thanks, Ricardo and fabrice

Offline

 

#9 2009-03-25 08:25:45

Craigy
New member

Re: User Agents

Hello!

navigator.appVersion returns MSIE 7.0 in IE8 tab. Refresh All Complete doesn't help...

IETester version 0.3.2, WinXP SP-2, IE7 installed.

Offline

 

#10 2009-03-25 10:12:08

fabrice
DebugBar Support

Re: User Agents

hm, that's strange. Is "MSIE 7.0" the real string that is returned ?

I tested on XPSP2/IE7 and I get  :

"4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"

Offline

 

#11 2009-03-25 11:10:45

Craigy
New member

Re: User Agents

I create this html:

---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=windows-1251" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<title></title>
</head>

<body>
<script type="text/javascript">
document.write(navigator.appVersion);
</script>
</body>

</html>
---

Open it in IETester (DebugBar 5.2.2 installed).
IE6 - 4.0 (compatible; MSIE 6.0; Windows NT 5.1)
IE7 - 4.0 (compatible; MSIE 7.0; Windows NT 5.1)
IE8 - 4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0)

Just it wrote corename in ie8...

Offline

 

#12 2009-03-25 11:20:46

fabrice
DebugBar Support

Re: User Agents

Strange, it is working on my side.

Can you check using regedit that the following key exists ? :

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

And that there is a value with the name "IETester.exe", of this REG_DWORD and the value is 8888 (decimal value) ?

Thanks.

Offline

 

#13 2009-03-25 12:24:31

Craigy
New member

Re: User Agents

Hmmm... I dont' have this key...
In HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\
just exists FEATURE_LOCALMACHINE_LOCKDOWN

I add this key, but it still doesn't work(

Offline

 

#14 2009-03-25 12:27:38

fabrice
DebugBar Support

Re: User Agents

That's strange. Should be added during install.

You need to add the key, and also the value "IETester.exe", type REG_DWORD and value 8888 (decimal).

Then, a restart of IETester is needed.

Offline

 

#15 2009-03-25 13:21:05

Craigy
New member

Re: User Agents

Big thanks! It's really need to include in next version installer.

I reboot win and it's work fine now!

Offline

 

#16 2009-03-25 13:22:00

fabrice
DebugBar Support

Re: User Agents

ok good. But the key/value is already included into the current version installer... strange.

Offline

 

#17 2009-04-10 15:48:33

Nickolas
New member

Re: User Agents

fabrice wrote:

ok good. But the key/value is already included into the current version installer... strange.

Some anti-virus programs (like Kaspersky), dont allow change the registry

Offline

 

#18 2009-04-10 15:59:03

fabrice
DebugBar Support

Re: User Agents

Too much security kills security :-)

Offline

 

#19 2009-04-10 17:53:03

Ricardo
Member

Re: User Agents

Anti-virus programs usually alert the user when they block something. It includes Kaspersky, unless user disabled notifications.

Offline