git rid of body padding... for now
This commit is contained in:
parent
4b61eb230c
commit
eae4a2605a
@ -912,7 +912,7 @@ if lastChecked < now - 1*DAY
|
||||
GM_setValue("hiddenReplies/#{g.BOARD}/", JSON.stringify(g.hiddenReplies))
|
||||
GM_setValue('lastChecked', now)
|
||||
|
||||
css = '
|
||||
GM_addStyle '
|
||||
#watcher {
|
||||
position: absolute;
|
||||
}
|
||||
@ -969,12 +969,6 @@ css = '
|
||||
cursor: pointer;
|
||||
}
|
||||
'
|
||||
if not g.REPLY and getConfig 'Thread Navigation'
|
||||
css += "
|
||||
body {
|
||||
padding-bottom: #{document.body.clientHeight}px;
|
||||
}"
|
||||
GM_addStyle css
|
||||
|
||||
if navtopr = $ '#navtopr a'
|
||||
text = navtopr.nextSibling #css doesn't see text nodes
|
||||
|
||||
10
4chan_x.js
10
4chan_x.js
@ -1,5 +1,5 @@
|
||||
(function() {
|
||||
var $, $$, AEOS, DAY, a, addTo, arr, as, autoWatch, autohide, b, board, callback, clearHidden, closeQR, config, cooldown, css, cutoff, d, delform, down, editSauce, el, expand, expandComment, expandThread, formSubmit, g, getConfig, getThread, getTime, hide, hideReply, hideThread, href, html, i, id, iframe, iframeLoad, imageClick, imageExpandClick, imageFull, imageThumb, imageToggle, img, inAfter, inBefore, input, inputs, keyModeInsert, keyModeNormal, keydown, keypress, l1, lastChecked, m, n, navbotr, navtopr, nodeInserted, now, omitted, onloadComment, onloadThread, options, optionsClose, parseResponse, pathname, qrListener, qrText, quickReply, recaptcha, recaptchaListener, recaptchaReload, redirect, remove, replace, replyNav, report, scroll, show, showReply, showThread, slice, span, src, start, stopPropagation, temp, text, textContent, thread, threadF, threads, tn, tzOffset, up, watch, watchX, watcher, watcherUpdate, x, zeroPad, _, _base, _fn, _i, _j, _k, _l, _len, _len2, _len3, _len4, _len5, _len6, _m, _ref, _ref2, _ref3, _ref4;
|
||||
var $, $$, AEOS, DAY, a, addTo, arr, as, autoWatch, autohide, b, board, callback, clearHidden, closeQR, config, cooldown, cutoff, d, delform, down, editSauce, el, expand, expandComment, expandThread, formSubmit, g, getConfig, getThread, getTime, hide, hideReply, hideThread, href, html, i, id, iframe, iframeLoad, imageClick, imageExpandClick, imageFull, imageThumb, imageToggle, img, inAfter, inBefore, input, inputs, keyModeInsert, keyModeNormal, keydown, keypress, l1, lastChecked, m, n, navbotr, navtopr, nodeInserted, now, omitted, onloadComment, onloadThread, options, optionsClose, parseResponse, pathname, qrListener, qrText, quickReply, recaptcha, recaptchaListener, recaptchaReload, redirect, remove, replace, replyNav, report, scroll, show, showReply, showThread, slice, span, src, start, stopPropagation, temp, text, textContent, thread, threadF, threads, tn, tzOffset, up, watch, watchX, watcher, watcherUpdate, x, zeroPad, _, _base, _fn, _i, _j, _k, _l, _len, _len2, _len3, _len4, _len5, _len6, _m, _ref, _ref2, _ref3, _ref4;
|
||||
var __slice = Array.prototype.slice, __indexOf = Array.prototype.indexOf || function(item) {
|
||||
for (var i = 0, l = this.length; i < l; i++) {
|
||||
if (this[i] === item) return i;
|
||||
@ -1183,7 +1183,7 @@
|
||||
GM_setValue("hiddenReplies/" + g.BOARD + "/", JSON.stringify(g.hiddenReplies));
|
||||
GM_setValue('lastChecked', now);
|
||||
}
|
||||
css = '\
|
||||
GM_addStyle('\
|
||||
#watcher {\
|
||||
position: absolute;\
|
||||
}\
|
||||
@ -1239,11 +1239,7 @@
|
||||
.pointer {\
|
||||
cursor: pointer;\
|
||||
}\
|
||||
';
|
||||
if (!g.REPLY && getConfig('Thread Navigation')) {
|
||||
css += " body { padding-bottom: " + document.body.clientHeight + "px; }";
|
||||
}
|
||||
GM_addStyle(css);
|
||||
');
|
||||
if (navtopr = $('#navtopr a')) {
|
||||
text = navtopr.nextSibling;
|
||||
a = n('a', {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user