Friday, July 3rd 2009

Removing .NET from Firefox’s User Agent String

I was one of many who was fooled into installing some version of Microsoft’s .NET runtime which installed an annoying extension into Firefox. It was annoying because it couldn’t be uninstalled. What’s wrong with you people at Microsoft?

After searching around I found a way of getting rid of the extension. But yesterday I realized that the extension had added a bit about .NET to Firefox’s user agent string.

So, how to get rid of it? Quite easily it turns out:

  1. Exit Firefox. (Open this page in your backup browser.)
  2. Find your Firefox profile.
  3. Open the file prefs.js in notepad.
  4. Search for microsoftdotnet.
  5. When you find it, delete the whole line where you found it, save and close. Done!

2 Responses to this post:

  1. Wayne says:

    Or you can install this update which will allow you to uninstall the extension using the usual method by clicking the unisntall button http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=cecc62dc-96a7-4657-af91-6383ba034eab

  2. David says:

    Also, another way again is to open up about:config in the Firefox address bar and search for dotnet and disable it within there.
    Does the same as the above without having to edit any files.