Created
April 8, 2014 15:23
-
-
Save salmoni/10141890 to your computer and use it in GitHub Desktop.
Changing Windows registry so that IE emulates IE10. For all codes, see http://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import _winreg as wreg | |
current_file = __file__ | |
key = wreg.CreateKey(wreg.HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main\\FeatureControl\\FEATURE_BROWSER_EMULATION") | |
wreg.SetValueEx(key, current_file, 0, wreg.REG_DWORD, 10001) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment