one single GM_addStyle
This commit is contained in:
parent
4862e64257
commit
e00c1e6a40
22
4chan_x.js
22
4chan_x.js
@ -119,17 +119,6 @@
|
|||||||
return window.open(url, "_blank");
|
return window.open(url, "_blank");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
GM_addStyle('\
|
|
||||||
div.dialog {\
|
|
||||||
border: 1px solid;\
|
|
||||||
}\
|
|
||||||
div.dialog > div.move {\
|
|
||||||
cursor: move;\
|
|
||||||
}\
|
|
||||||
label, a {\
|
|
||||||
cursor: pointer;\
|
|
||||||
}\
|
|
||||||
');
|
|
||||||
ui = {
|
ui = {
|
||||||
dialog: function(id, position, html) {
|
dialog: function(id, position, html) {
|
||||||
var el, left, top, _ref;
|
var el, left, top, _ref;
|
||||||
@ -1570,6 +1559,17 @@
|
|||||||
GM_setValue('lastChecked', now.toString());
|
GM_setValue('lastChecked', now.toString());
|
||||||
}
|
}
|
||||||
GM_addStyle('\
|
GM_addStyle('\
|
||||||
|
/* dialog styling */\
|
||||||
|
div.dialog {\
|
||||||
|
border: 1px solid;\
|
||||||
|
}\
|
||||||
|
div.dialog > div.move {\
|
||||||
|
cursor: move;\
|
||||||
|
}\
|
||||||
|
label, a {\
|
||||||
|
cursor: pointer;\
|
||||||
|
}\
|
||||||
|
\
|
||||||
#iHover {\
|
#iHover {\
|
||||||
position: fixed;\
|
position: fixed;\
|
||||||
}\
|
}\
|
||||||
|
|||||||
@ -51,19 +51,6 @@ if typeof GM_deleteValue is 'undefined'
|
|||||||
window.GM_openInTab = (url) ->
|
window.GM_openInTab = (url) ->
|
||||||
window.open url, "_blank"
|
window.open url, "_blank"
|
||||||
|
|
||||||
#dialog styling
|
|
||||||
GM_addStyle '
|
|
||||||
div.dialog {
|
|
||||||
border: 1px solid;
|
|
||||||
}
|
|
||||||
div.dialog > div.move {
|
|
||||||
cursor: move;
|
|
||||||
}
|
|
||||||
label, a {
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
'
|
|
||||||
|
|
||||||
ui =
|
ui =
|
||||||
dialog: (id, position, html) ->
|
dialog: (id, position, html) ->
|
||||||
ui.el = el = document.createElement 'div'
|
ui.el = el = document.createElement 'div'
|
||||||
@ -1210,6 +1197,17 @@ if lastChecked < now - 1*DAY
|
|||||||
GM_setValue('lastChecked', now.toString())
|
GM_setValue('lastChecked', now.toString())
|
||||||
|
|
||||||
GM_addStyle '
|
GM_addStyle '
|
||||||
|
/* dialog styling */
|
||||||
|
div.dialog {
|
||||||
|
border: 1px solid;
|
||||||
|
}
|
||||||
|
div.dialog > div.move {
|
||||||
|
cursor: move;
|
||||||
|
}
|
||||||
|
label, a {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
#iHover {
|
#iHover {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user