easyDiary
code:script.js
var onKeyDown = function(e){
var name = e.code;
if (e.metaKey) {
if (e.shiftKey){
if(name == "KeyK"){
document.location.href="https://scrapbox.io/sawachin/todolist";
}
if(name == "Period"){
const today = new Date();
const title = [today.getFullYear(),
(today.getMonth()+1),today.getDate()].join('%2F');
document.location.href="https://scrapbox.io/sawachin/" + title + "?body=[/"+location.href.split("/")3 +"/" + scrapbox.Page.title+ "]";
}
}
}
}
document.addEventListener('keydown', onKeyDown);
追加したい機能
Chromeで特定のブックマーク/ URLを開くショートカット
omniboxから開くのが早そう
できた。
quickQuotes + easyDiary
必要な機能を考える
Page遷移を考える
スクマ ver.3