By Email:
I want to highlight some text and then search for this text in the DuckDuckGo browser, not the DDG page in my default of Safari. Can I do this?
Solution:
#popclip
name: DDG
icon: iconify:simple-icons:duckduckgo
javascript: |
const root = "https://duckduckgo.com/?q=";
const terms = encodeURIComponent(popclip.input.text);
popclip.openUrl(root + terms, { app: "com.duckduckgo.macos.browser" });
(The above block is an extension snippet — select it then click “Install Extension” in PopClip.)