[Proposal] IsLoggedIn API/Header

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.

Are you aware of the IsLoggedIn WebKit explainer?

Funny coincidence.