How do I write an IE 8 Add-On in pure managed C#

后端 未结 3 1370
攒了一身酷
攒了一身酷 2020-12-09 13:57

I would like to write an add-on for IE 8, but I want to use pure managed C#. Is this possible yet? I know for the longest time we were talking only C++.

3条回答
  •  鱼传尺愫
    2020-12-09 14:39

    Ultimately, the C# will end up calling into IE8's COM functions. There's a framework called Spicie that makes this easier, and some other examples here: http://www.enhanceie.com/ie/dev.asp

    Generally, it's a bad idea to write browser extensions in .NET because there's a severe performance impact, and there's the possibility of runtime collisions because only one version of .NET can be loaded into a process currently; if two addons want to use conflicting .NET versions, one will fail.

提交回复
热议问题