>>369
oncommandとonclickの行を
button.addEventListener("command", event => ucjs_searchButton.search(event));
button.addEventListener("click", event => checkForMiddleClick(button, event));
かな