Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Firefox SDK in Firefox 56 release package?

  • 7 відповідей
  • 1 має цю проблему
  • 3 перегляди
  • Остання відповідь від cor-el

more options

Hi all,

From FF 44 to FF 52, I see there are the FF SDK embedded in release package (Ex. https://ftp.mozilla.org/pub/firefox/releases/52.4.0esr/firefox-52.4.0esr.win32.sdk.zip). However, from FF 53 to FF 56, I don't find the FF SDK embedded in release package. Could you let me know reason why?

Thanks, Hai.

Hi all, From FF 44 to FF 52, I see there are the FF SDK embedded in release package (Ex. https://ftp.mozilla.org/pub/firefox/releases/52.4.0esr/firefox-52.4.0esr.win32.sdk.zip). However, from FF 53 to FF 56, I don't find the FF SDK embedded in release package. Could you let me know reason why? Thanks, Hai.

Усі відповіді (7)

more options

Um, at 226MB, I'm not going to download that and see what it is. Any idea?

If it's related to the "Add-on SDK", no new extensions that use the Add-on SDK are being accepted by the Add-ons site, and they will all stop running in Firefox 57.

more options

I assume that this is the SDK source code that you can use to compile this packet and generate the binaries.

more options

cor-el said

I assume that this is the SDK source code that you can use to compile this packet and generate the binaries.

Yes, that right. It is the SDK source code used to compile this packet and generate the binaries. But I don't see it from FF 53.

more options
more options

jscher2000 said

If you want to build Firefox: https://developer.mozilla.org/docs/Mozilla/Developer_guide/Build_Instructions

Thank you for your reply. But I don't want to build Firefox. I want to use the interfaces (header files) in the SDK to get the DOM information from Firefox browser window by C++.

The code sample look like below:

nsresult result; nsCOMPtr<nsIWindowMediator> windowMediator = do_GetService(NS_WINDOWMEDIATOR_CONTRACTID, &result); if (windowMediator) { nsCOMPtr<mozIDOMWindowProxy> browserWindowProxy; windowMediator->GetMostRecentWindow(u"navigator:browser", getter_AddRefs(browserWindowProxy)); nsCOMPtr<nsPIDOMWindowInner> browserWindowInner(do_QueryInterface(browserWindowProxy));

       ...

}

more options

Once you have identified the relevant header file from Firefox 52, you can check the source repository to see whether it has changed in Firefox 56 or on the trunk:

Current Release: https://dxr.mozilla.org/mozilla-release/source/

Trunk: https://dxr.mozilla.org/mozilla-central/source/

more options

This is probably because starting with Firefox 53 no new legacy extensions are accepted on the Addo-ons website