This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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 இந்த பிரச்னைகள் உள்ளது
  • 8 views
  • Last reply by ltknn

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)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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/

I repack addon and it's work. Thank you