【问题标题】:to enable chrome.commands in the current chrome stable release在当前 chrome 稳定版本中启用 chrome.commands
【发布时间】:2013-01-05 09:49:14
【问题描述】:

我正在开发一个 chrome 扩展程序,计划使用 Chrome 即将推出的 API chrome.commands 来定义全局键盘快捷键。

此 API 可能会在 Chrome 25 (says here) 中发布,目前在 Canary、Dev 和 Beta 中可用。 (已在 Canary 上测试过,但尚未在 Dev 或 Beta 上尝试过)。

我的问题是:有没有办法在当前稳定版本的 Chrome 中启用这个 API?我尝试启用“实验扩展 API”,但这没有帮助。

【问题讨论】:

  • 谢谢。您能否详细说明为什么不可能。在稳定版本上启用实验性 API 是否存在问题,或者这是 API chrome.commands 特有的问题,还是其他问题?

标签: google-chrome-extension


【解决方案1】:

如果您查看 Say 23.0.1248.0 here 的源代码,您找不到这些代码的引用!所以它们在任何旧版本中都未定义。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-08
    相关资源
    最近更新 更多