Snippet: Bing search in Microsoft Edge

By tweet:

I was wondering if I can open this search in a browser other than the default browser? … I want all my searches in @bing because of the Chat interface and reference links

Here it is as a snippet:

// #popclip
// name: Bing + Edge
// icon: bundle:search
// language: javascript
const url = "" + encodeURIComponent(popclip.input.text);
popclip.openUrl(url, { app: "" })

(The above block is an extension snippet — select it then click “Install Extension” in PopClip.)