This page is part of the documentation for the Chrome Apps platform, which was deprecated in 2020. It remains supported for Enterprise and Education customers on ChromeOS until at least Jan 2025. Learn more about
migrating your app .
Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
chrome.browser
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
重要提示 :
此 API 仅在 ChromeOS 上有效 。
说明
使用 chrome.browser API 与当前应用和 Chrome 个人资料关联的 Chrome 浏览器进行互动。
权限
browser
可用性
类型
方法
openTab()
chrome . browser . openTab ( options : OpenTabOptions , callback? : function , ) : Promise<void>
在与当前应用和 Chrome 个人资料关联的浏览器窗口中打开新标签页。如果未打开 Chrome 个人资料的任何浏览器窗口,系统会在创建新标签页之前打开一个新窗口。
参数
配置标签页的打开方式。
callback 参数的格式如下:
() => void
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可 获得了许可,并且代码示例已根据 Apache 2.0 许可 获得了许可。有关详情,请参阅 Google 开发者网站政策 。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-03-04。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-03-04。"],[],[]]