diff --git a/4chan_x.js b/4chan_x.js index b14c59be2..9b1a607f2 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2022,7 +2022,7 @@ } if (navtopr = $('#navtopr')) { options.init(); - } else if ($.config('404 Redirect') && d.title === '4chan - 404') { + } else if ($.config('404 Redirect') && d.title === '4chan - 404' && /^\d+$/.test(g.THREAD_ID)) { redirect(); } else { return; diff --git a/script.coffee b/script.coffee index ec818045c..bf19422d2 100644 --- a/script.coffee +++ b/script.coffee @@ -1555,7 +1555,7 @@ main = return if navtopr = $ '#navtopr' options.init() - else if $.config('404 Redirect') and d.title is '4chan - 404' + else if $.config('404 Redirect') and d.title is '4chan - 404' and /^\d+$/.test g.THREAD_ID redirect() else return