diff --git a/4chan_x.user.js b/4chan_x.user.js index 548818a28..3b0195cb1 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1995,10 +1995,10 @@ case 'status': return QR.status(data); case 'banned': - QR.error('You are banned.', $.el('a', { - href: 'http://www.4chan.org/banned', + QR.error('_', $.el('a', { + href: '//www.4chan.org/banned', target: '_blank', - textContent: 'You are banned.' + textContent: 'Connection error, or you are banned.' })); return QR.status({ ready: true, diff --git a/changelog b/changelog index 06142db30..17f3b3764 100644 --- a/changelog +++ b/changelog @@ -1,6 +1,7 @@ master - Mayhem Now works when using https. + Ban support improvements and fixes. 2.29.1 - Mayhem diff --git a/script.coffee b/script.coffee index 7cc61c0a6..323dceaac 100644 --- a/script.coffee +++ b/script.coffee @@ -1677,10 +1677,10 @@ QR = when 'status' QR.status data when 'banned' - QR.error 'You are banned.', $.el 'a', - href: 'http://www.4chan.org/banned' + QR.error '_', $.el 'a', + href: '//www.4chan.org/banned' target: '_blank' - textContent: 'You are banned.' + textContent: 'Connection error, or you are banned.' # Disable iframe reloading QR.status ready: true, banned: true else