diff --git a/4chan_x.user.js b/4chan_x.user.js index 31aef9d43..450ae3887 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1761,7 +1761,7 @@ input.disabled = true; input.value = 404; } - d.title = d.title.match(/.+- /)[0] + 404; + d.title = d.title.match(/.+-/)[0] + ' ' + 404; g.dead = true; Favicon.update(); return; diff --git a/script.coffee b/script.coffee index db8ec4f3b..49ddf9c20 100644 --- a/script.coffee +++ b/script.coffee @@ -1432,7 +1432,8 @@ updater = for input in $$ '#com_submit' input.disabled = true input.value = 404 - d.title = d.title.match(/.+- /)[0] + 404 + # XXX Firefox - trailing spaces are trimmed + d.title = d.title.match(/.+-/)[0] + ' ' + 404 g.dead = true Favicon.update() return