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

Function buildCookieRemovalUrl

background.js:5686–5692  ·  view source on GitHub ↗
(cookie)

Source from the content-addressed store, hash-verified

5684}
5685
5686function buildCookieRemovalUrl(cookie) {
5687 const host = normalizeCookieDomainForMatch(cookie?.domain);
5688 const path = String(cookie?.path || '/').startsWith('/')
5689 ? String(cookie?.path || '/')
5690 : `/${String(cookie?.path || '')}`;
5691 return `https://${host}${path}`;
5692}
5693
5694async function collectCookiesForPreLoginCleanup() {
5695 if (!chrome.cookies?.getAll) {

Callers 1

removeCookieDirectlyFunction · 0.85

Calls 1

Tested by

no test coverage detected