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

Function getPanelModeLabel

background.js:3245–3251  ·  view source on GitHub ↗
(modeOrState)

Source from the content-addressed store, hash-verified

3243}
3244
3245function getPanelModeLabel(modeOrState) {
3246 if (typeof navigationUtils !== 'undefined' && navigationUtils?.getPanelModeLabel) {
3247 return navigationUtils.getPanelModeLabel(modeOrState);
3248 }
3249 const mode = typeof modeOrState === 'string' ? modeOrState : getPanelMode(modeOrState);
3250 return mode === 'sub2api' ? 'SUB2API' : 'CPA';
3251}
3252
3253function isSignupPageHost(hostname = '') {
3254 if (typeof navigationUtils !== 'undefined' && navigationUtils?.isSignupPageHost) {

Callers 1

Calls 1

getPanelModeFunction · 0.70

Tested by

no test coverage detected