Jump to content

Altering IE's UserAgent string


Mikka

Recommended Posts

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:

post-89609-1143108463_thumb.png

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?

Link to comment
Share on other sites


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 ;)

Link to comment
Share on other sites

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 ... ;)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 2 weeks later...
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?

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...