Create a Bookmarklet that allows you to directly jump to the page generated by pin-diary-3.
const currentDate = new Date();
const nextSunday = new Date();
function zero(n) {
return String(n).padStart(2, '0');
}
nextSunday.setDate(currentDate.getDate() + (7-currentDate.getDay())%7);
window.location.href=`https://scrapbox.io/blu3mo/~${nextSunday.getFullYear()}${zero(nextSunday.getMonth() + 1)}${zero(nextSunday.getDate())}`;
Bookmarklet:
javascript:const currentDate = new Date();const nextSunday = new Date();function zero(n) {return String(n).padStart(2, '0');}nextSunday.setDate(currentDate.getDate() + (7-currentDate.getDay())%7);window.location.href=`https://scrapbox.io/blu3mo/~${nextSunday.getFullYear()}${zero(nextSunday.getMonth() + 1)}${zero(nextSunday.getDate())}`;