MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / normalizeCookieDomainForMatch

Function normalizeCookieDomainForMatch

background.js:5674–5676  ·  view source on GitHub ↗
(domain)

Source from the content-addressed store, hash-verified

5672// ============================================================
5673
5674function normalizeCookieDomainForMatch(domain) {
5675 return String(domain || '').trim().replace(/^\.+/, '').toLowerCase();
5676}
5677
5678function shouldClearPreLoginCookie(cookie) {
5679 const domain = normalizeCookieDomainForMatch(cookie?.domain);

Callers 2

buildCookieRemovalUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected