From: PHO Date: Fri, 13 Sep 2019 04:36:38 +0000 (+0900) Subject: Auto commit by The Sugar System. X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=sugar.git;a=commitdiff_plain;h=95e70d6fb7a9581ac8744530b3a38aa7d09a9be3 Auto commit by The Sugar System. --- diff --git a/dot-files/_config/tridactyl/tridactylrc b/dot-files/_config/tridactyl/tridactylrc index b256603..c3524a8 100644 --- a/dot-files/_config/tridactyl/tridactylrc +++ b/dot-files/_config/tridactyl/tridactylrc @@ -61,7 +61,7 @@ bind fillcmdline mcjira " Memories of multi_requester unbind m -command alc js -p let uri='https://eow.alc.co.jp/search?q=' + JS_ARG; if (document.location.hostname == 'eow.alc.co.jp') { tri.excmds.open(uri); } else { tri.excmds.tabopen(uri); } +command alc js -p let query=(JS_ARG == '' ? window.prompt('Query') : JS_ARG); if (query !== null) { let uri='https://eow.alc.co.jp/search?q=' + encodeURIComponent(query); if (document.location.hostname == 'eow.alc.co.jp') { tri.excmds.open(uri); } else { tri.excmds.tabopen(uri); } } bind ma fillcmdline alc " Quick marks