2space indentation
This commit is contained in:
parent
ab165eaf3e
commit
35adc74240
166
4chan_x.js
166
4chan_x.js
@ -115,15 +115,15 @@
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
GM_addStyle('\
|
GM_addStyle('\
|
||||||
div.dialog {\
|
div.dialog {\
|
||||||
border: 1px solid;\
|
border: 1px solid;\
|
||||||
}\
|
}\
|
||||||
div.dialog > div.move {\
|
div.dialog > div.move {\
|
||||||
cursor: move;\
|
cursor: move;\
|
||||||
}\
|
}\
|
||||||
label, a {\
|
label, a {\
|
||||||
cursor: pointer;\
|
cursor: pointer;\
|
||||||
}\
|
}\
|
||||||
');
|
');
|
||||||
Dialog = (function() {
|
Dialog = (function() {
|
||||||
function Dialog(id, position, html) {
|
function Dialog(id, position, html) {
|
||||||
@ -1416,79 +1416,79 @@
|
|||||||
GM_setValue('lastChecked', now);
|
GM_setValue('lastChecked', now);
|
||||||
}
|
}
|
||||||
GM_addStyle('\
|
GM_addStyle('\
|
||||||
#options textarea {\
|
#options textarea {\
|
||||||
height: 100px;\
|
height: 100px;\
|
||||||
width: 500px;\
|
width: 500px;\
|
||||||
}\
|
}\
|
||||||
#updater {\
|
#updater {\
|
||||||
position: fixed;\
|
position: fixed;\
|
||||||
text-align: right;\
|
text-align: right;\
|
||||||
}\
|
}\
|
||||||
#updater input[type=text] {\
|
#updater input[type=text] {\
|
||||||
width: 50px;\
|
width: 50px;\
|
||||||
}\
|
}\
|
||||||
#updater:not(:hover) {\
|
#updater:not(:hover) {\
|
||||||
border: none;\
|
border: none;\
|
||||||
background: transparent;\
|
background: transparent;\
|
||||||
}\
|
}\
|
||||||
#updater:not(:hover) > div:not(.move) {\
|
#updater:not(:hover) > div:not(.move) {\
|
||||||
display: none;\
|
display: none;\
|
||||||
}\
|
}\
|
||||||
#watcher {\
|
#watcher {\
|
||||||
position: absolute;\
|
position: absolute;\
|
||||||
}\
|
}\
|
||||||
#watcher > div.move {\
|
#watcher > div.move {\
|
||||||
text-decoration: underline;\
|
text-decoration: underline;\
|
||||||
padding: 5px 5px 0 5px;\
|
padding: 5px 5px 0 5px;\
|
||||||
}\
|
}\
|
||||||
#watcher > div:last-child {\
|
#watcher > div:last-child {\
|
||||||
padding: 0 5px 5px 5px;\
|
padding: 0 5px 5px 5px;\
|
||||||
}\
|
}\
|
||||||
span.error {\
|
span.error {\
|
||||||
color: red;\
|
color: red;\
|
||||||
}\
|
}\
|
||||||
#qr.auto:not(:hover) form {\
|
#qr.auto:not(:hover) form {\
|
||||||
visibility: collapse;\
|
visibility: collapse;\
|
||||||
}\
|
}\
|
||||||
#qr span.error {\
|
#qr span.error {\
|
||||||
position: absolute;\
|
position: absolute;\
|
||||||
bottom: 0;\
|
bottom: 0;\
|
||||||
left: 0;\
|
left: 0;\
|
||||||
}\
|
}\
|
||||||
#qr {\
|
#qr {\
|
||||||
position: fixed;\
|
position: fixed;\
|
||||||
}\
|
}\
|
||||||
#qr > div {\
|
#qr > div {\
|
||||||
text-align: right;\
|
text-align: right;\
|
||||||
}\
|
}\
|
||||||
#qr > form > div, /* ad */\
|
#qr > form > div, /* ad */\
|
||||||
#qr td.rules {\
|
#qr td.rules {\
|
||||||
display: none;\
|
display: none;\
|
||||||
}\
|
}\
|
||||||
#options {\
|
#options {\
|
||||||
position: fixed;\
|
position: fixed;\
|
||||||
padding: 5px;\
|
padding: 5px;\
|
||||||
text-align: right;\
|
text-align: right;\
|
||||||
}\
|
}\
|
||||||
form[name=delform] a img {\
|
form[name=delform] a img {\
|
||||||
border: 0px;\
|
border: 0px;\
|
||||||
float: left;\
|
float: left;\
|
||||||
margin: 0px 20px;\
|
margin: 0px 20px;\
|
||||||
}\
|
}\
|
||||||
span.navlinks {\
|
span.navlinks {\
|
||||||
position: absolute;\
|
position: absolute;\
|
||||||
right: 5px;\
|
right: 5px;\
|
||||||
}\
|
}\
|
||||||
span.navlinks > a {\
|
span.navlinks > a {\
|
||||||
font-size: 16px;\
|
font-size: 16px;\
|
||||||
text-decoration: none;\
|
text-decoration: none;\
|
||||||
}\
|
}\
|
||||||
.hide {\
|
.hide {\
|
||||||
display: none;\
|
display: none;\
|
||||||
}\
|
}\
|
||||||
.new {\
|
.new {\
|
||||||
background: lime;\
|
background: lime;\
|
||||||
}\
|
}\
|
||||||
');
|
');
|
||||||
if (navtopr = $('#navtopr a')) {
|
if (navtopr = $('#navtopr a')) {
|
||||||
text = navtopr.nextSibling;
|
text = navtopr.nextSibling;
|
||||||
@ -1552,7 +1552,7 @@
|
|||||||
if (getConfig('Image Expansion')) {
|
if (getConfig('Image Expansion')) {
|
||||||
delform = $('form[name=delform]');
|
delform = $('form[name=delform]');
|
||||||
expand = n('div', {
|
expand = n('div', {
|
||||||
innerHTML: "<select id=imageType name=imageType><option>full</option><option>fit width</option><option>fit screen</option></select> <label>Expand Images<input type=checkbox id=imageExpand></label>"
|
innerHTML: "<select id=imageType name=imageType><option>full</option><option>fit width</option><option>fit screen</option></select> <label>Expand Images<input type=checkbox id=imageExpand></label>"
|
||||||
});
|
});
|
||||||
imageType = GM_getValue('imageType', 'full');
|
imageType = GM_getValue('imageType', 'full');
|
||||||
_ref5 = $$("option", expand);
|
_ref5 = $$("option", expand);
|
||||||
|
|||||||
2340
script.coffee
2340
script.coffee
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user