generated at
UserScript:Scaffolding-01
Level 1 基本語彙
script.js
const l1links = text => { const regexp = /^[a-zA-Z0-9!-/:-@\[-`{-~\s]*$/gm if (regexp.test(text)) {   return `[https://ejje.weblio.jp/content/${text}]\n`    + `[https://www.ldoceonline.com/dictionary/${text}]\n`    + `[https://www.dictionary.com/browse/${text}]\n`   + `[https://www.thesaurus.com/browse/${text}]\n`   + `[https://jisho.org/search/${text}]\n` } else { return `weblio [https://www.weblio.jp/content/${encodeURIComponent(text)} ${text}]\n`   + `kotobank [https://kotobank.jp/gs/?q=${encodeURIComponent(text)} ${text}]\n`   + `jisho [https://jisho.org/search/${encodeURIComponent(text)} ${text}]\n` } } scrapbox.PopupMenu.addButton({ title: 'L1', onClick: l1links })


UserScript