WebGPU now works in extension service workers, which means you can now build Chrome extensions that make use of the GPU like this WebLLM example: https://github.com/mlc-ai/web-llm/tree/main/examples/chrome-extension-webgpu-service-worker.
(via What's New in WebGPU https://developer.chrome.com/blog/new-in-webgpu-124)