OpenInADifferentProject
code:script.js
const projectName = scrapbox.Project.name == "shoya140" ? "shoya" : "shoya140"
scrapbox.PageMenu.addItem({
title: Open in ${projectName},
onClick: () => {
const pageTitle = encodeURIComponent(scrapbox.Page.title)
const url = https://scrapbox.io/${projectName}/${pageTitle}
open(url)
}
})