popup-menu-search-deepl
dependencies
better-popup-menu
import
utils
code:script.js
import { unlink } from '../utils/script.js'
scrapbox.PopupMenu.addButton({
title: '\uf1ab',
onClick: (text) => {
window.open(
https://www.deepl.com/translator#_/_/${unlink(text)}
)
},
})
popup-menu-search
popup-menu