diff --git a/4chan_x.user.js b/4chan_x.user.js
index 66dd42b2b..5d9d2012e 100644
--- a/4chan_x.user.js
+++ b/4chan_x.user.js
@@ -1215,7 +1215,6 @@
\
\
@@ -2129,7 +2128,7 @@
var props, watched, _name;
props = {
href: "/" + g.BOARD + "/res/" + id,
- textContent: getTitle(thread).slice(0, 30)
+ textContent: getTitle(thread)
};
watched = $.get('watched', {});
watched[_name = g.BOARD] || (watched[_name] = {});
@@ -2714,7 +2713,9 @@
redirect = function() {
var url;
switch (g.BOARD) {
+ case 'diy':
case 'g':
+ case 'pol':
case 'sci':
url = "http://archive.installgentoo.net/cgi-board.pl/" + g.BOARD + "/thread/" + g.THREAD_ID;
break;
@@ -3250,8 +3251,12 @@
position: absolute;\
}\
#watcher > div {\
+ overflow: hidden;\
padding-right: 5px;\
padding-left: 5px;\
+ text-overflow: ellipsis;\
+ max-width: 200px;\
+ white-space: nowrap;\
}\
#watcher > div.move {\
text-decoration: underline;\
diff --git a/changelog b/changelog
index d6022eeaf..7863bc30c 100644
--- a/changelog
+++ b/changelog
@@ -2,7 +2,7 @@ master
- mayhem
initiate 4chan X earlier
automatically reload expanded pictures on error
- update /sci/ archive redirection
+ update archives redirections for /diy/, /pol/ and /sci/
regular expressions based filter
handle bans with the thread updater
performance improvements
diff --git a/script.coffee b/script.coffee
index d5253c3bd..7c0b20e60 100644
--- a/script.coffee
+++ b/script.coffee
@@ -858,7 +858,6 @@ options =
@@ -1626,7 +1625,7 @@ watcher =
watch: (thread, id) ->
props =
href: "/#{g.BOARD}/res/#{id}"
- textContent: getTitle(thread)[...30]
+ textContent: getTitle(thread)
watched = $.get 'watched', {}
watched[g.BOARD] or= {}
@@ -2029,7 +2028,7 @@ Favicon =
redirect = ->
switch g.BOARD
- when 'g', 'sci'
+ when 'diy', 'g', 'pol', 'sci'
url = "http://archive.installgentoo.net/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
when 'lit', 'tv'
url = "http://archive.gentoomen.org/cgi-board.pl/#{g.BOARD}/thread/#{g.THREAD_ID}"
@@ -2518,8 +2517,12 @@ Main =
position: absolute;
}
#watcher > div {
+ overflow: hidden;
padding-right: 5px;
padding-left: 5px;
+ text-overflow: ellipsis;
+ max-width: 200px;
+ white-space: nowrap;
}
#watcher > div.move {
text-decoration: underline;