Release schedule of chrome.infobars Chrome Toolbar API

荒凉一梦 提交于 2019-12-01 19:46:06

Update (February 2015): The chrome.infobars API will be removed from Chrome in the future (Chrome 42?).


  1. chrome.infobars was designed in 2008, but it is only enabled on Developer builds and Canary only. It's not clear whether it will ever reach the stable channel, see Issue 39511: Launch Extension Infobars? for more information.
  2. chrome.experimental.infobars should no longer be used. It has been removed since Chrome 30. Use chrome.infobars instead.
  3. You cannot upload extensions with the "experimental" permission to the Chrome Web Store, so don't worry about breaking compatibility. The extensions being experimental means that their API can change without notice, or completely be removed. Provided that the API does not change, you can use a compatibility layer like like this:

    if (!chrome.infobars && chrome.experimental && chrome.experimental.infobars) {
        chrome.infobars = chrome.experimental.infobars;
    }
    
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!