Ko tenda hembiapoite sa’ivéta oñemba’apokuévo hese hembiapo porãve hag̃ua. Peteĩ jehaipyre nomoĩporãiramo ne apañuái ha eporanduséramo, roguerekohína ore nepytyvõ rekoha ikatútava ndeykeko @FirefoxSupport Twitter-pe ha avei /r/firefox Reddit-pe.

Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Kuaave

Firefox Addon SDK does not send open event to Popup window

  • 1 Mbohovái
  • 1 oguereko ko apañuái
  • 2 Hecha
  • Mbohovái ipaháva the-edmeister

more options

I tried a sample in addon-sdk and found the following behaviour.

Main.js:

var windows = require("sdk/windows").browserWindows; for each (var window in windows) {

 console.log(window.title);

} console.log(windows.length); windows.on('open', function(window) {

 console.log(windows.length+"open");

});

Using the website http://www.yourhtmlsource.com/javascript/popupwindows.html to test. Go to the section containing the phrase "Try it here: » Pop it", then click on "Pop it", a new winfow is opened but the open event is not triggered (windows.on('open'...); is not called)

Since I am new to Firefox SDK development, could you help me. Thanks.

I tried a sample in addon-sdk and found the following behaviour. Main.js: var windows = require("sdk/windows").browserWindows; for each (var window in windows) { console.log(window.title); } console.log(windows.length); windows.on('open', function(window) { console.log(windows.length+"open"); }); Using the website http://www.yourhtmlsource.com/javascript/popupwindows.html to test. Go to the section containing the phrase "Try it here: » Pop it", then click on "Pop it", a new winfow is opened but the open event is not triggered (windows.on('open'...); is not called) Since I am new to Firefox SDK development, could you help me. Thanks.

Opaite Mbohovái (1)

more options

Try asking in the add-on support forum.

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