MSFN Forum: Altering IE's UserAgent string - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Altering IE's UserAgent string How can this be done? Rate Topic: -----

#1 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 55
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 23 March 2006 - 04:13 AM

Hi!

I'm seeking a way to alter/customize the IE's navigator.userAgent string.
Comparable to Firefox extensions like User Agent Switcher, I'd like to change the underlined string:

Attached File  Clip2.gif (10.26K)
Number of downloads: 89

It should read: Mozilla/4.0 (incapable; IE6SP2; Windows NT 5.1)
Which system resource do I have to hack (and how)? Or could this be done by simply editing the registry?


#2 User is offline   PITU 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 13-October 05

Posted 23 March 2006 - 05:39 PM

Hello!

Open regedit

Browse to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0"

Create a new "key" named "User Agent".

Open it and edit the entry named "(standard)" to your favorite Browsername.

Create three new Entrys (REG_SZ) named "Platform", "Compatible", "Version".

After you have done that you can put your Settings into the entries.

That's it.

Sorry for my bad English, wrote it very fast ;)

#3 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 55
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 24 March 2006 - 12:31 PM

View PostPITU, on Mar 24 2006, 12:39 AM, said:

Browse to "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\5.0"

Create a new "key" named "User Agent".

Open it and edit the entry named "(standard)" to your favorite Browsername.

Create three new Entrys (REG_SZ) named "Platform", "Compatible", "Version".

After you have done that you can put your Settings into the entries.

That's it.

Thanks, it works like a charm. :thumbup

In order to avoid the string "SV1" appended sometimes, it may be necessary to delete the (empty) entry "SV1" under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\User Agent\Post Platform.

Looking forward to fool some shіtty browser gates/detection scripts ... ;)

#4 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 55
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 25 March 2006 - 12:45 PM

BTW, it would be even better to handle this per add-on, for simply switching it on and off. :w00t:
Are there any Windows programming dudes out there? Maybe a BHO, registry patch ...
Any suggestions?

#5 User is offline   Mikka 

  • Junior
  • Pip
  • Group: Members
  • Posts: 55
  • Joined: 02-March 06
  • OS:none specified
  • Country: Country Flag

Posted 05 April 2006 - 02:02 AM

View PostMikka, on Mar 25 2006, 08:45 PM, said:

BTW, it would be even better to handle this per add-on, for simply switching it on and off. […] Any suggestions?

No one? Just found out that update.microsoft.com doesn't recognize your IE when having modified the navigator.userAgent string. :P
Best would be a switching function similar to the Firefox extension User Agent Switcher.
Does anybody have a clue how to implement this?

#6 User is offline   HyperHacker 

  • Just plain nuts
  • PipPipPip
  • Group: Members
  • Posts: 473
  • Joined: 01-May 05

Posted 15 April 2006 - 02:27 AM

I think the best method might be to use a filtering proxy. Proxomitron supports faking the user agent, though you have to go through the menus to change it.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy