bigger options button

This commit is contained in:
James Campos 2011-03-25 16:52:08 -07:00
parent 8852d158b0
commit 36293dfb57
2 changed files with 8 additions and 16 deletions

View File

@ -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 {

View File

@ -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