From 0b013a91a37521c2effa22bad88b31aff3b5c306 Mon Sep 17 00:00:00 2001 From: James Campos Date: Wed, 29 Dec 2010 14:07:28 -0800 Subject: [PATCH] keybind: u - update now --- 4chan_x.coffee | 2 ++ 4chan_x.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/4chan_x.coffee b/4chan_x.coffee index 272ff71b1..7818f3651 100644 --- a/4chan_x.coffee +++ b/4chan_x.coffee @@ -558,6 +558,8 @@ keyModeNormal = (e) -> location.href = href else GM_openInTab href + when "U" + updateNow() when "W" root = if g.REPLY then null else getThread()[0] watchButton = $ "span.filesize ~ img", root diff --git a/4chan_x.js b/4chan_x.js index 02497e858..1be2fb9fd 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -722,6 +722,8 @@ } else { return GM_openInTab(href); } + case "U": + return updateNow(); case "W": root = g.REPLY ? null : getThread()[0]; watchButton = $("span.filesize ~ img", root);