MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / openInAppBrowserCommand

Function openInAppBrowserCommand

src/cm/commandRegistry.js:1395–1402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1393}
1394
1395async function openInAppBrowserCommand() {
1396 const url = await prompt("Enter url", "", "url", {
1397 placeholder: "http://",
1398 match: /^https?:\/\/.+/,
1399 });
1400 if (url) acode.exec("open-inapp-browser", url);
1401 return true;
1402}
1403
1404function adjustFontSize(delta) {
1405 const current = settings?.value?.fontSize || "12px";

Callers

nothing calls this directly

Calls 2

execMethod · 0.65
promptFunction · 0.50

Tested by

no test coverage detected