From 278ff8a2e230228b7253b584ae2a6dd72d7ba6e7 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Fri, 24 Jun 2011 22:16:04 +0200 Subject: [PATCH] start hotkeys config --- 4chan_x.user.js | 22 ++++++++++++++++++++++ script.coffee | 21 +++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/4chan_x.user.js b/4chan_x.user.js index 99f1d37d9..caa283231 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -116,6 +116,28 @@ }, flavors: ['http://regex.info/exif.cgi?url=', 'http://iqdb.org/?url=', 'http://google.com/searchbyimage?image_url=', '#http://tineye.com/search?url=', '#http://saucenao.com/search.php?db=999&url='].join('\n'), time: '%m/%d/%y(%a)%H:%M', + hotkeys: { + close: 'Esc', + spoiler: 'ctrl+s', + openQR: 'i', + openEmptyQR: 'I', + submit: 'alt+s', + nextReply: 'J', + previousReply: 'K', + nextThread: 'n', + previousThread: 'p', + nextPage: 'alt+x', + previousPage: 'alt+z', + zero: '0', + openThreadTab: 'o', + openThread: 'O', + expandThread: 'e', + watch: 'w', + hide: 'x', + expandImages: 'm', + expandAllImages: 'M', + update: 'u' + }, updater: { checkbox: { 'Verbose': [true, 'Show countdown timer, new post count'], diff --git a/script.coffee b/script.coffee index faa3720d5..6f2023bce 100644 --- a/script.coffee +++ b/script.coffee @@ -52,6 +52,27 @@ config = '#http://saucenao.com/search.php?db=999&url=' ].join '\n' time: '%m/%d/%y(%a)%H:%M' + hotkeys: + close: 'Esc' + spoiler: 'ctrl+s' + openQR: 'i' + openEmptyQR: 'I' + submit: 'alt+s' + nextReply: 'J' + previousReply: 'K' + nextThread: 'n' + previousThread: 'p' + nextPage: 'alt+x' + previousPage: 'alt+z' + zero: '0' + openThreadTab: 'o' + openThread: 'O' + expandThread: 'e' + watch: 'w' + hide: 'x' + expandImages: 'm' + expandAllImages: 'M' + update: 'u' updater: checkbox: 'Verbose': [true, 'Show countdown timer, new post count']