A partial archive of discourse.wicg.io as of Saturday February 24, 2024.

[Proposal] IsLoggedIn API/Header

Ahsan
2020-02-29

API and http header to determine if the useragent is logged in to a website.

Reasons:

  • Need a way to determine if it’s safe to delete first party cookies/storage on a website for privacy reasons

isLoggedIn header should be a bool

window.IsLoggedIn should be a bool


Work around my extension implements:

Our chrome extension (https://baitblock.app) has a feature that resists against first party tracking of users (trackers are moving to 1st party). We have a pattern recognition system to determine if the user is logged in by visually understanding the page and it’s expensive to run every time.

AshleyScirra
2020-02-29

Are you aware of the IsLoggedIn WebKit explainer?

simevidas
2020-03-06

Funny coincidence.