From 8d8da47d32c2b9202b098627cc7af3183d31e79c Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 5 May 2011 23:42:33 +0200 Subject: [PATCH 1/2] archive.no-ip.org doesn't archive /c/ ;_; --- 4chan_x.js | 1 - script.coffee | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index d9baf6527..8806d04cc 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1782,7 +1782,6 @@ case '3': case 'adv': case 'an': - case 'c': case 'ck': case 'co': case 'fa': diff --git a/script.coffee b/script.coffee index 4cfe35c36..227102600 100644 --- a/script.coffee +++ b/script.coffee @@ -1390,7 +1390,7 @@ redirect = -> url = "http://green-oval.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" when 'jp', 'm', 'tg' url = "http://archive.easymodo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}" - when '3', 'adv', 'an', 'c', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x' + when '3', 'adv', 'an', 'ck', 'co', 'fa', 'fit', 'int', 'k', 'mu', 'n', 'o', 'p', 'po', 'soc', 'sp', 'toy', 'trv', 'v', 'vp', 'x' url = "http://archive.no-ip.org/#{g.BOARD}/thread/#{g.THREAD_ID}" else url = "http://boards.4chan.org/#{g.BOARD}" From c0a70c40fdc884e097fc9827f8d70b42214cce52 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Fri, 6 May 2011 01:24:26 +0200 Subject: [PATCH 2/2] Fix Auto-Watch. --- 4chan_x.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index 8806d04cc..15204e748 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2188,7 +2188,7 @@ unread.init(); } if ($.config('Auto Watch') && location.hash === '#watch') { - watcher.watch(); + watcher.watch($('body > form'), $('form > input[value=delete]').name); } } else { threading.init(); diff --git a/script.coffee b/script.coffee index 227102600..7d33118a9 100644 --- a/script.coffee +++ b/script.coffee @@ -1699,7 +1699,7 @@ main = unread.init() if $.config('Auto Watch') and location.hash is '#watch' - watcher.watch() + watcher.watch($('body > form'), $('form > input[value=delete]').name) else #not reply threading.init()