Jump to content

Message From YouTube About IE 6 Browser [Solved]


Recommended Posts

here is a new site displaying a banner 'You are using an outdated browser' even with your reg:

:angry:http://www.addictinggames.com/ .

It's not reading anything in the registry, it's simply detecting whether or not the browser supports the max-width CSS2 style property. IE6 and below versions do not support the max height or width properties of CSS2, and will set them to undefined - so checking for it when otherwise configured in the site's CSS means the user is using IE6 if this comes back undefined, as all other newer browsers do support this (including IE7). You can't spoof this in any way (not from the client, anyway) as this is just something of a feature of the rendering engine - IE6 doesn't support this method (whereas FF 1.x, all versions of Safari and Google Chrome, and all versions of Opera back to at least v7 do), so anyone checking for it to be undefined when it is set in CSS for the page will know the user is using either IE6 or an older IE version and can then act on that.

As to dencorso's question about the mamabar, it appears it's a method written for the dojo toolkit used to run script on the site for generating the DIV that displays this message, there's nothing special about it. It's just a call to a custom method which from it's input appears to just be a jscript or scripts behind that method that generates HTML code based on the DIV to display the IE6 upgrade banner for the site.

Link to comment
Share on other sites

By the way, I'd found another place for "User Agent" in my registry:

[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"User Agent"="Mozilla/4.0 (compatible; MSIE 6.0; Win32)"

Is there any use to change it?


HKEY_LOCAL_MACHINE (abbreviated as HKLM) is the machine-wide hive key (HK) valid for all users on the same machine, and which takes precedence over any user key, i.e. HKEY_USERS\User_Name [HKU\User_Name].

Both HKEY_CURRENT_USER [HKCU] (the currently logged on user hive key) and HKEY_USERS\.DEFAULT [HKU\.D] (default user HK, in this case the current user) share basically the same information (mirror each other).

Therefore, to answer your question, HKU\.D registry values are not needed if same values are already present under HKLM.

You could manually (by using RegEdit.exe or by running REG/INF/VBS files) write/change valid values under HKCU and/or HKU\.D, but don't expect them to be also written under HKLM.

In order to write/change a valid value for the entire machine, you have to put it under HKLM.

The other way around... HKCU (and HKU\.D when that particular user is logged on) contain values specific only to the current user, to protect/preserve separate users + specific user settings. Also, needed machine-wide info is read from HKLM and written into HKCU (and mirrored into HKU\.D) every time a user logs on.

In case u care to learn more about the registry:



Link to comment
Share on other sites

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