开发者

what is the equivalent option for displaying a notificationbox in chrome extension like in firefox addon

I am developing extensions for a site for major three browsers (FF,Chrome,IE). I started with firefox and now working with chrome. I want to know how to implement an option like the firefox xul notificationbox https://developer.mozilla.org/En/XUL:notificationbox in chrome?

How to display the do you want to save password panel in chrome like in firefox notificationbox?

I inspected LastPass and found that they are inject开发者_开发百科ing a div inside the body tag as the first child of the body tag. is that the way it has to be ? or some other option?


There is an experimental API for this: chrome.experimental.infobars.

Until it gets stable creating your own div is the only option.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜