I want to make browser add-ons / extensions, what programming language do I need to learn?

What programming languages ​​do I need to learn to make browser add-ons / extensions for all browsers there?

I was told his javascript? Thank you in advance.

+3
source share
4 answers

I once said something in this section about IE:

IE itself is written in C ++ and makes extensive use of COM. The extensibility model is also based on COM. In my experience, you have the following tradeoffs:

  • ++ COM. , , COM-, .. , IUnknown, IClassFactory, IObjectWithSite .., IConnectionPoint IConnectionPointContainer, , , , . , .
  • ATL/MFC ++. , COM- . - , , . , .
  • # GAC, . v4 . , IE . interop (, , , pinvoke.net ), , . , IE mscorewhatever, YourExtension.dll, /. Microsoft , Shell, , iexplore.exe , explorer.exe. , , .

, , , , .

Firefox, XPCOM. XUL + JavaScript, script. 99% . -, , . Cooliris, XPCOM ( NPAPI).

Chrome - Javascript , Chrome, - , NPAPI, C API.

, , Javascript, XML HTML, IE , . , ++ ( ++ C NPAPI). #, , IE #.

+5

, , , Mozilla IE.

IE COM, C ++, .NET.

, Mozilla XPCOM, XPCOM, - .

++. .

+6

, Mozilla, Javascript ( , ).

Internet Explorer .NET IE.

+1

There is no answer for all browsers, but for Mozilla browsers such as FireFox, you are primarily talking about JavaScript. For IE, of course, these will be .NET languages. For other browsers, this will depend, but often some JavaScript with possibly a small amount of language in which the browser is programmed.

For Mozilla browsers, the start of Extensions at the Mozilla Development Center.

+1
source

Source: https://habr.com/ru/post/1726015/


All Articles