bigger options button
This commit is contained in:
parent
8852d158b0
commit
36293dfb57
12
4chan_x.js
12
4chan_x.js
@ -1617,23 +1617,19 @@
|
||||
}\
|
||||
');
|
||||
if (navtopr = $('#navtopr a')) {
|
||||
text = navtopr.nextSibling;
|
||||
a = n('a', {
|
||||
textContent: 'X',
|
||||
textContent: '4chan X',
|
||||
className: 'pointer',
|
||||
listener: ['click', options]
|
||||
});
|
||||
inBefore(text, tn(' / '));
|
||||
inBefore(text, a);
|
||||
replace(navtopr, a);
|
||||
navbotr = $('#navbotr a');
|
||||
text = navbotr.nextSibling;
|
||||
a = n('a', {
|
||||
textContent: 'X',
|
||||
textContent: '4chan X',
|
||||
className: 'pointer',
|
||||
listener: ['click', options]
|
||||
});
|
||||
inBefore(text, tn(' / '));
|
||||
inBefore(text, a);
|
||||
replace(navbotr, a);
|
||||
} else if (getConfig('404 Redirect') && d.title === '4chan - 404') {
|
||||
redirect();
|
||||
} else {
|
||||
|
||||
@ -1257,21 +1257,17 @@ GM_addStyle '
|
||||
'
|
||||
|
||||
if navtopr = $ '#navtopr a'
|
||||
text = navtopr.nextSibling #css doesn't see text nodes
|
||||
a = n 'a',
|
||||
textContent: 'X'
|
||||
textContent: '4chan X'
|
||||
className: 'pointer'
|
||||
listener: ['click', options]
|
||||
inBefore text, tn(' / ')
|
||||
inBefore text, a
|
||||
replace navtopr, a
|
||||
navbotr = $ '#navbotr a'
|
||||
text = navbotr.nextSibling
|
||||
a = n 'a',
|
||||
textContent: 'X'
|
||||
textContent: '4chan X'
|
||||
className: 'pointer'
|
||||
listener: ['click', options]
|
||||
inBefore text, tn(' / ')
|
||||
inBefore text, a
|
||||
replace navbotr, a
|
||||
else if getConfig('404 Redirect') and d.title is '4chan - 404'
|
||||
redirect()
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user