I am making a firefox extension using their addon builder and I am trying to get a popup to open when I click on a toolbar button. However,it seems like the dimensions of the panel can not be set to auto. I load some content after making an api call and therefore the html content of the panel varies. How do I make the panel resize according to the html document size automatically, like the default popup in google chrome extensions?
问问题
1260 次