addon firefox 22 private
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/
從原來的回覆中察看解決方案 👍 2所有回覆 (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