MCPcopy Create free account
hub / github.com/garrytan/gstack / stopInspector

Function stopInspector

extension/background.js:231–238  ·  view source on GitHub ↗
(tabId)

Source from the content-addressed store, hash-verified

229}
230
231async function stopInspector(tabId) {
232 try {
233 await chrome.tabs.sendMessage(tabId, { type: 'stopPicker' });
234 } catch (err) {
235 console.debug('[gstack bg] Failed to stop picker on tab', tabId, ':', err.message);
236 }
237 return { ok: true };
238}
239
240async function postInspectorPick(selector, frameInfo, basicData, activeTabUrl) {
241 const base = getBaseUrl();

Callers 1

background.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected