附加组件

获取处理器架构 - runtime.PlatformArch

当前浏览器所在的计算机的处理器架构.

值类型

该值的类型是字符串. 可能的值如下:

"arm"
标识平台基于 arm 架构.
"x86-32"
表示平台基于 x86 32-bit 架构.
"x86-64"
表示平台基于 x86 64-bit 架构.

浏览器兼容性

Chrome Edge Firefox Firefox for Android Opera
Basic support Yes No 45.0 48.0 33

Acknowledgements

This API is based on Chromium's chrome.runtime API. This documentation is derived from runtime.json in the Chromium code.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

文档标签和贡献者

 此页面的贡献者: taadis
 最后编辑者: taadis,