Skip to content

Topics API feature #2636

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Topics API feature #2636

wants to merge 1 commit into from

Conversation

captainbrosset
Copy link
Contributor

@captainbrosset captainbrosset commented Feb 11, 2025

I need help to describe this as I don't know the API much at all, so I'm not sure what the entry points are.
This is a non-standard API that's part of Google's privacy sandbox initiative.

For more info, see

@github-actions github-actions bot added feature definition Creating or defining new features or groups of features. tools and infrastructure Project internal tooling, such as linters, GitHub Actions, or repo settings labels Feb 11, 2025
@lolaodelola
Copy link

lolaodelola commented Mar 18, 2025

I wrote about this a couple of years ago so happy to take a stab but is this a web feature yet? Both Mozilla and Firefox have negative standards positions on it, it's not on the standards track, it's not implemented outside, there's an enrollment process to use it and it's generally considered not good for the web (at this moment in time) - should we be adding this as a web feature here? Is there developer interest in Topics API?

This feels more like a proposed web feature rather than an actual web feature at the moment.

@ddbeck
Copy link
Collaborator

ddbeck commented May 5, 2025

should we be adding this as a web feature here?

To answer @lolaodelola's question, web-features is primarily descriptive. When an API ships in a browser, we ought to record the presence of that feature, whether nor not it's good or useful or popular. In an ideal world, single-implementation features that don't get uptake will be deprecated or withdrawn, which we can also describe when it happens.

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left a suggestion for the description, but I think merging this would be a positive development either way.

The specs list needs a merge conflict resolved as well, before merging. Thank you!

@@ -0,0 +1,13 @@
name: Topics
description: The `browsingtopics` attribute for `<iframe>` elements and the `browsingTopics` option for the `fetch()` method enable interest-based advertising based on topics collected by the browser as the user navigates, without exposing the user's exact browsing history. Also known as the Topics API.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: The `browsingtopics` attribute for `<iframe>` elements and the `browsingTopics` option for the `fetch()` method enable interest-based advertising based on topics collected by the browser as the user navigates, without exposing the user's exact browsing history. Also known as the Topics API.
description: The Topics API reports a user's likely subject-matter interests (as determined by the browser, known as topics) to iframes. This allows for interest-based advertising that does not rely on user's exact browsing history, third-party cookies, or fingerprinting.

I'm suggesting this change to the description to hopefully be a little more direct about what the API does (versus "enabling" downstream activity). Ordinarily, I'd say that we should name the entry points, but this API seems to have several (the attribute, the fetch option, and the document method, at very least).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features. tools and infrastructure Project internal tooling, such as linters, GitHub Actions, or repo settings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants