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

Function getStep8CallbackUrlFromTabUpdate

background/navigation-utils.js:145–154  ·  view source on GitHub ↗
(tabId, changeInfo, tab, signupTabId)

Source from the content-addressed store, hash-verified

143 }
144
145 function getStep8CallbackUrlFromTabUpdate(tabId, changeInfo, tab, signupTabId) {
146 if (!Number.isInteger(signupTabId) || tabId !== signupTabId) return '';
147 const candidates = [changeInfo?.url, tab?.url];
148 for (const candidate of candidates) {
149 if (isLocalhostOAuthCallbackUrl(candidate)) {
150 return candidate;
151 }
152 }
153 return '';
154 }
155
156 return {
157 getPanelMode,

Callers 1

executeStep8Function · 0.50

Calls 1

Tested by

no test coverage detected