I am planning to start writing a Firefox extension in the near future and found out that part of the functionality I would like my extension to have is already done in another extension. Now I am wondering if it is possible to program an extension that uses the functionality of another extension (i.e. that the existing extension would have to be installed before mine). Is there for example the possibility to call another extensions functions?
I am not trying to pass off somebody elses work as my own (hence the dependency on the existing extension), I just think it might not be necessary to program the same functionality twice.
I would assume that other people also had this problem/question, but unfortunately I could not find any answer on Stackoverflow or the internet in general. Apparently it is possible to change an existing extension, but this is not exactly what i want.
I'm happy for any tips or pointers!
Thanks in advance!