MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Browser / navigateToBrowserPage

Function navigateToBrowserPage

wvbrowser_ui/controls_ui/options.js:1–10  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

1function navigateToBrowserPage(path) {
2 const navMessage = {
3 message: commands.MG_NAVIGATE,
4 args: {
5 uri: `browser://${path}`
6 }
7 };
8
9 window.chrome.webview.postMessage(navMessage);
10}
11
12// Add listener for the options menu entries
13function addItemsListeners() {

Callers 1

addItemsListenersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected