]> gitweb @ CieloNegro.org - sugar.git/blobdiff - dot-files/_config/tridactyl/tridactylrc
Auto commit by The Sugar System.
[sugar.git] / dot-files / _config / tridactyl / tridactylrc
index b2566035dfbd4a5d367907edb083d037051f58df..c9669a5bf5c46b021af728e7f8209377ede5b727 100644 (file)
@@ -61,7 +61,7 @@ bind <C-x><C-j> 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
@@ -88,7 +88,7 @@ quickmark b http://direct.bk.mufg.jp/
 quickmark B http://www.mizuhobank.co.jp/direct/start.html
 "
 " - Securities
-qmark s https://online.sc.mufg.jp/its/dfw/UTBSITS/user_p/Login#
+quickmark s https://online.sc.mufg.jp/its/dfw/UTBSITS/user_p/Login#
 
 " Scrolling
 bind j scrollline 1