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

Function getStep8CallbackUrlFromNavigation

background/navigation-utils.js:138–143  ·  view source on GitHub ↗
(details, signupTabId)

Source from the content-addressed store, hash-verified

136 }
137
138 function getStep8CallbackUrlFromNavigation(details, signupTabId) {
139 if (!Number.isInteger(signupTabId) || !details) return '';
140 if (details.tabId !== signupTabId) return '';
141 if (details.frameId !== 0) return '';
142 return isLocalhostOAuthCallbackUrl(details.url) ? details.url : '';
143 }
144
145 function getStep8CallbackUrlFromTabUpdate(tabId, changeInfo, tab, signupTabId) {
146 if (!Number.isInteger(signupTabId) || tabId !== signupTabId) return '';

Callers 1

executeStep8Function · 0.50

Calls 1

Tested by

no test coverage detected