Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

addon firefox 22 private

  • 2 (ردّان اثنان)
  • 2 have this problem
  • 8 views
  • آخر ردّ كتبه ltknn

more options

I write addon myself. It work fine in private mode on FF21 but not on FF22. Any suggestion for me? code is like: //======== var timer = require('timer'); var enabledTimer = true; timer.setInterval(timer_callback,1000);

function timer_callback(){

   if (enabledTimer){
       enabledTimer = false;
       var tabs = require("sdk/tabs");
       tabs.open("http://www.example.com");
   }

} //=======

Thank you

I write addon myself. It work fine in private mode on FF21 but not on FF22. Any suggestion for me? code is like: //======== var timer = require('timer'); var enabledTimer = true; timer.setInterval(timer_callback,1000); function timer_callback(){ if (enabledTimer){ enabledTimer = false; var tabs = require("sdk/tabs"); tabs.open("http://www.example.com"); } } //======= Thank you

الحل المُختار

hello ltknn, have you used the most current sdk version in order to pack your addon?

https://blog.mozilla.org/addons/2013/02/26/per-window-private-browsing-and-the-add-on-sdk/

Read this answer in context 👍 2

All Replies (2)

more options

الحل المُختار

hello ltknn, have you used the most current sdk version in order to pack your addon?

https://blog.mozilla.org/addons/2013/02/26/per-window-private-browsing-and-the-add-on-sdk/

more options

I repack addon and it's work. Thank you