mirror options on bottom
This commit is contained in:
parent
d001dd3c9f
commit
39392250da
@ -748,7 +748,15 @@ redirect = ->
|
||||
|
||||
#main part 2...
|
||||
if navtopr = $ '#navtopr a'
|
||||
text = navtopr.nextSibling
|
||||
text = navtopr.nextSibling #css doesn't see text nodes
|
||||
a = n 'a',
|
||||
textContent: 'X'
|
||||
className: 'pointer'
|
||||
listener: ['click', options]
|
||||
inBefore text, tn(' / ')
|
||||
inBefore text, a
|
||||
navbotr = $ '#navbotr a'
|
||||
text = navbotr.nextSibling
|
||||
a = n 'a',
|
||||
textContent: 'X'
|
||||
className: 'pointer'
|
||||
|
||||
11
4chan_x.js
11
4chan_x.js
@ -1,5 +1,5 @@
|
||||
(function() {
|
||||
var $, $$, AEOS, BOARD, DAY, PAGENUM, REPLY, THREAD_ID, _i, _j, _len, _len2, _ref, _ref2, a, addTo, arr, as, autoWatch, autohide, b, board, callback, callbacks, clearHidden, close, config, cutoff, d, defaultSaucePrefix, delform, down, editSauce, el, expandComment, expandThread, favEmpty, favNormal, favicon, getConfig, getTime, head, hiddenReplies, hiddenThreads, hide, hideReply, hideThread, href, html, i, i1, id, iframe, iframeLoad, iframeLoop, img, inAfter, inBefore, input, inputs, l, l1, lastChecked, magic, n, navtopr, nodeInserted, nop, now, omitted, onloadComment, onloadThread, options, optionsClose, parseResponse, pathname, quickReply, r, recaptcha, recaptchaListener, recaptchaReload, redirect, remove, replace, replyNav, report, show, showReply, showThread, slice, span, src, stopPropagation, submit, text, textContent, thread, threadF, threads, tn, up, watch, watchX, watched, watcher, watcherUpdate, x, xhrs;
|
||||
var $, $$, AEOS, BOARD, DAY, PAGENUM, REPLY, THREAD_ID, _i, _j, _len, _len2, _ref, _ref2, a, addTo, arr, as, autoWatch, autohide, b, board, callback, callbacks, clearHidden, close, config, cutoff, d, defaultSaucePrefix, delform, down, editSauce, el, expandComment, expandThread, favEmpty, favNormal, favicon, getConfig, getTime, head, hiddenReplies, hiddenThreads, hide, hideReply, hideThread, href, html, i, i1, id, iframe, iframeLoad, iframeLoop, img, inAfter, inBefore, input, inputs, l, l1, lastChecked, magic, n, navbotr, navtopr, nodeInserted, nop, now, omitted, onloadComment, onloadThread, options, optionsClose, parseResponse, pathname, quickReply, r, recaptcha, recaptchaListener, recaptchaReload, redirect, remove, replace, replyNav, report, show, showReply, showThread, slice, span, src, stopPropagation, submit, text, textContent, thread, threadF, threads, tn, up, watch, watchX, watched, watcher, watcherUpdate, x, xhrs;
|
||||
var __slice = Array.prototype.slice, __hasProp = Object.prototype.hasOwnProperty;
|
||||
config = {
|
||||
'Thread Hiding': true,
|
||||
@ -866,6 +866,15 @@
|
||||
});
|
||||
inBefore(text, tn(' / '));
|
||||
inBefore(text, a);
|
||||
navbotr = $('#navbotr a');
|
||||
text = navbotr.nextSibling;
|
||||
a = n('a', {
|
||||
textContent: 'X',
|
||||
className: 'pointer',
|
||||
listener: ['click', options]
|
||||
});
|
||||
inBefore(text, tn(' / '));
|
||||
inBefore(text, a);
|
||||
} else if (getConfig('404 Redirect') && d.title === '4chan - 404') {
|
||||
redirect();
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user