MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isChromeExtensionInstalled

Function isChromeExtensionInstalled

src/utils/claudeInChrome/setup.ts:391–400  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

389 * @returns Object with isInstalled boolean and the browser where the extension was found
390 */
391export async function isChromeExtensionInstalled(): Promise<boolean> {
392 const browserPaths = getAllBrowserDataPaths()
393 if (browserPaths.length === 0) {
394 logForDebugging(
395 `[Claude in Chrome] Unsupported platform for extension detection: ${getPlatform()}`,
396 )
397 return false
398 }
399 return isChromeExtensionInstalledPortable(browserPaths, logForDebugging)
400}
401

Callers 6

ClaudeInChromeOnboardingFunction · 0.50
ClaudeInChromeMenuFunction · 0.50
callFunction · 0.50
_tempFunction · 0.50

Calls 4

getAllBrowserDataPathsFunction · 0.85
logForDebuggingFunction · 0.85
getPlatformFunction · 0.85

Tested by

no test coverage detected