Help get this topic noticed by sharing it on Twitter, Facebook, or email.

How to chage setPopup() html file in FF

Hi,

I made crossrider extension that requires authentication to our service so user can use that extension. If user did not logged in I'm setting setPopup to login.html otherwise to popup.html

function setPopup(popup){
var height = (popup == 'login.html')? 146 : 306;
appAPI.browserAction.setPopup({
resourcePath:popup,
height: height,
width: 350
});
}

so when use changes logged in state I'm setting other html file for popup (closing current one and setting new). This works great in Chrome but in Firefox initial popup is not changed. Is there any way to make this working in FF too?
1 person has
this problem
+1
Reply