mtane0412
https://gyazo.com/467b38503d4371f5ed83bcd8ef835270
Scrapboxユーザー名と配信者名が一致しないのどうしようか
code: script.js
scrapbox.PopupMenu.addButton({
title: 'Add thumb',
onClick: text =>{
let tabs = text.match("(\t+)");
let match = text.match(".?(http.+).?")1; match = match.replace("]","");
if (tabs == null){
}
else if (tabs1.length == 1){ const tab = tabs1.replace("\t",""); }
else {
const tab = tabs1.replace("\t",""); }
return text;
}
})