搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox 78.11.0esr macOS 10.11  Do not work web api browser.windows.create

  • 2 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 melonics

more options

Browser.windows.create does not work on Firefox 78.11.0esr macOS 10.11.

Even if I executed the sample code, it didn't work.

sample code https://github.com/mdn/webextensions-examples/tree/c42a263968d06d1722692bd77cf09e738006977a/window-manipulator

Browser.windows.create does not work on Firefox 78.11.0esr macOS 10.11. Even if I executed the sample code, it didn't work. sample code https://github.com/mdn/webextensions-examples/tree/c42a263968d06d1722692bd77cf09e738006977a/window-manipulator

所有回覆 (2)

more options

Hi melonics, if you are using the about:debugging page to work with your extension, you can click the Inspect button to open a developer tools console where messages specific to your extension can appear. https://developer.mozilla.org/docs/Tools/about:debugging

Sometimes they are a bit cryptic...

The Add-ons team has a website to help with extension development questions over here:

https://discourse.mozilla.org/c/add-ons/development

more options

Thank you for teaching.

error message Uncaught (in promise) Error: Invalid window

Check again from the error message.

由 melonics 於 修改