On Windows, any language that registers for the Windows Scripting Host can run in IE. At least the ActiveState version of Python could do that; I seem to recall that has been superseded by a more official version these days.
But that solution requires the user to install a python interpreter and run some script or .reg file to put the correct "magic" into the registry for the hooks to work.