<div id="output"></div>
function getGPUInfo() {
	let canvas = document.createElement('canvas').getContext('webgl');
	let renderer = canvas.getExtension('WEBGL_debug_renderer_info');
	if(renderer) {
		return canvas.getParameter(renderer.UNMASKED_RENDERER_WEBGL);
	}
	return false;
}
//Пример
document.querySelector('#output').textContent = getGPUInfo();

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.