detect-features
Version:
Detect and report browser and hardware features.
103 lines (102 loc) • 3.34 kB
JSON
{
"browserFeatures": {
"browserType": {
"browserEngineName": "WebKit",
"browserEngineVersion": "600.1.4",
"browserName": "Mobile Safari",
"browserVersion": "8.0",
"deviceModel": "iPhone",
"deviceType": "mobile",
"deviceVendor": "Apple",
"operatingSystemName": "iOS",
"operatingSystemVersion": "8.1.3"
},
"isGamepadSupported": false,
"isIndexedDBSupported": true,
"isLocalStorageSupported": true,
"isPerformanceSupported": false,
"isRequestIdleCallbackSupported": false,
"isServiceWorkerSupported": false,
"isWebAssemblySupported": false,
"isWebAudioSupported": true,
"isWebGL2Supported": false,
"isWebGLSupported": true,
"isWebRTCSupported": false,
"isWebSocketSupported": true,
"isWebVRSupported": false,
"isWebWorkerSupported": true,
"isWebXRSupported": false,
"webGL2Features": false,
"webGLFeatures": {
"base": {
"shaderVersion": "WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.00)",
"renderer": "WebKit WebGL",
"rendererUnmasked": null,
"vendor": "WebKit",
"vendorUnmasked": null,
"version": "WebGL 1.0 (OpenGL ES 2.0 Apple A8 GPU - 50.6.11)"
},
"general": {
"aliasedLineWidthRange": "[object Float32Array]",
"aliasedPointSizeRange": "[object Float32Array]",
"alphaBits": 8,
"antialias": false,
"blueBits": 8,
"depthBits": 24,
"greenBits": 8,
"maxCombinedTextureImageUnits": 8,
"maxCubeMapTextureSize": 4096,
"maxFragmentUniformVectors": 64,
"maxRenderBufferSize": 4096,
"maxTextureImageUnits": 8,
"maxTextureSize": 4096,
"maxVaryingVectors": 8,
"maxVertexAttributes": 16,
"maxVertexTextureImageUnits": 8,
"maxVertexUniformVectors": 128,
"maxViewportDimensions": "[object Int32Array]",
"precision": {
"fragmentShaderHighPrecision": "127,127,23",
"fragmentShaderLowPrecision": "127,127,23",
"fragmentShaderMediumPrecision": "127,127,23",
"vertexShaderHighPrecision": "127,127,23",
"vertexShaderLowPrecision": "127,127,23",
"vertexShaderMediumPrecision": "127,127,23"
},
"redBits": 8,
"stencilBits": 8,
"subPixelBits": 4
},
"extensions": {
"maxAnisotropy": 16,
"maxDrawBuffers": 0,
"supportedExtensions": {
"OES_texture_float": true,
"OES_texture_float_linear": true,
"OES_texture_half_float": true,
"OES_texture_half_float_linear": true,
"OES_standard_derivatives": true,
"EXT_shader_texture_lod": true,
"WEBKIT_EXT_texture_filter_anisotropic": true,
"OES_vertex_array_object": true,
"OES_element_index_uint": true,
"WEBGL_lose_context": true,
"WEBKIT_WEBGL_compressed_texture_pvrtc": true,
"WEBGL_depth_texture": true,
"ANGLE_instanced_arrays": true
}
}
}
},
"browserSettings": {
"isCookieEnabled": true,
"isDoNotTrackEnabled": true
},
"hardwareFeatures": {
"devicePixelRatio": 2,
"endianness": "little",
"screenSize": "375,667",
"workerPoolSize": 0,
"windowSize": "375,559"
}
}