button.jsfunction z(i,p){return i.toString().padStart(p, '0');};
const d = new Date();
const date = [d.getFullYear().toString(), z(d.getMonth()+1,2), z(d.getDate(),2)].join('/');
location.href=`https://scrapbox.io/${scrapbox.Project.name}/${encodeURIComponent(date)}`;