Hi, I’m trying to create an extension for German dictionary search, which will be open with Microsoft Edge.
Here is what I tried, but instead of searching for the specific keyword, it simply searches for the term “term.” Can you please help me to fix this?
# popclip
name: Collins German dictionary
icon: search filled DE
javascript: |
const term = encodeURIComponent(popclip.input.text)
const url = 'https://www.collinsdictionary.com/dictionary/german-english/${term}'
popclip.openUrl(url, {app: 'com.microsoft.edgemac'})