Remove ban checking from the updater. Bans only affect sys.4chan.org from now on.
This commit is contained in:
parent
ebbdb57fd3
commit
b01dfd42dd
@ -2462,11 +2462,6 @@
|
||||
body = $.el('body', {
|
||||
innerHTML: this.responseText
|
||||
});
|
||||
if ($('title', body).textContent === '4chan - Banned') {
|
||||
updater.count.textContent = 'Banned';
|
||||
updater.count.className = 'warning';
|
||||
return;
|
||||
}
|
||||
id = ((_ref = $('td[id]', updater.br.previousElementSibling)) != null ? _ref.id : void 0) || 0;
|
||||
nodes = [];
|
||||
_ref2 = $$('.reply', body).reverse();
|
||||
|
||||
@ -1958,12 +1958,6 @@ updater =
|
||||
body = $.el 'body',
|
||||
innerHTML: @responseText
|
||||
|
||||
#this only works on Chrome because of cross origin policy
|
||||
if $('title', body).textContent is '4chan - Banned'
|
||||
updater.count.textContent = 'Banned'
|
||||
updater.count.className = 'warning'
|
||||
return
|
||||
|
||||
id = $('td[id]', updater.br.previousElementSibling)?.id or 0
|
||||
nodes = []
|
||||
for reply in $$('.reply', body).reverse()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user