MCPcopy Create free account
hub / github.com/dailydotdev/apps / disableEmbeddingForTab

Function disableEmbeddingForTab

packages/extension/src/frame/controller.ts:70–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 shouldDisableEmbeddingOnCleanup = true;
69 },
70 async disableEmbeddingForTab() {
71 if (!shouldDisableEmbeddingOnCleanup) {
72 return;
73 }
74
75 shouldDisableEmbeddingOnCleanup = false;
76
77 try {
78 await disableFrameEmbeddingViaBackground();
79 } catch (error) {
80 errorLog('[frame] failed to disable frame embedding for tab:', error);
81 }
82 },
83 };
84};
85

Callers

nothing calls this directly

Calls 2

errorLogFunction · 0.70

Tested by

no test coverage detected