↩️ Topics fetch request header demo

This site is part of the Topics API demo: see topics-demo.glitch.me for more information.

Code in js/main.js makes the following request every two seconds:

  {browsingTopics: true});

The service running at topics-demo.glitch.me/send-topics responds by echoing request headers.

If a request includes topics (which will happen if topics have been observed by code whose origin is topics-demo.glitch.me) the topics will be displayed below.

This demo isn't anything like a real-world implementation: it only serves to show how topics can be included in request headers. Access to topics in headers is supported in Chrome 111 and above. topics-demo.glitch.me explains how to try the demo.

sec-browsing-topics request headers will be displayed here.