There's not custom settings in images.4chan.org. Remove outdated comment.
This commit is contained in:
parent
dc4ccac2e6
commit
91772a4110
@ -3088,11 +3088,9 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (location.hostname === 'images.4chan.org') {
|
if (location.hostname === 'images.4chan.org') {
|
||||||
if (conf['404 Redirect']) {
|
$.onLoad(function() {
|
||||||
$.onLoad(function() {
|
if (d.title === '4chan - 404') return redirect.init();
|
||||||
if (d.title === '4chan - 404') return redirect.init();
|
});
|
||||||
});
|
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.onLoad(options.init);
|
$.onLoad(options.init);
|
||||||
|
|||||||
@ -2229,7 +2229,6 @@ Favicon =
|
|||||||
redirect =
|
redirect =
|
||||||
init: ->
|
init: ->
|
||||||
url =
|
url =
|
||||||
# waiting for https://github.com/FoOlRulez/FoOlFuuka/issues/11
|
|
||||||
if location.hostname is 'images.4chan.org'
|
if location.hostname is 'images.4chan.org'
|
||||||
redirect.image g.BOARD, location.pathname.split('/')[3]
|
redirect.image g.BOARD, location.pathname.split('/')[3]
|
||||||
else if /^\d+$/.test g.THREAD_ID
|
else if /^\d+$/.test g.THREAD_ID
|
||||||
@ -2394,8 +2393,7 @@ Main =
|
|||||||
$.onLoad qr.sys
|
$.onLoad qr.sys
|
||||||
return
|
return
|
||||||
if location.hostname is 'images.4chan.org'
|
if location.hostname is 'images.4chan.org'
|
||||||
if conf['404 Redirect']
|
$.onLoad -> redirect.init() if d.title is '4chan - 404'
|
||||||
$.onLoad -> redirect.init() if d.title is '4chan - 404'
|
|
||||||
return
|
return
|
||||||
|
|
||||||
$.onLoad options.init
|
$.onLoad options.init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user