-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path1.variables.js
More file actions
26 lines (22 loc) · 809 Bytes
/
1.variables.js
File metadata and controls
26 lines (22 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export const script = this;
export const UNDERSCRIPT = 'UnderScript';
export const footer = `<div style="width:100%;text-align:center;font-size:12px;font-family:monospace;">${UNDERSCRIPT} ©feildmaster</div>`;
export const footer2 = `<div style="width:100%;text-align:center;font-size:12px;font-family:monospace;">via ${UNDERSCRIPT}</div>`;
export const hotkeys = [];
export const scriptVersion = GM_info.script.version;
export const buttonCSS = {
border: '',
height: '',
background: '',
'font-size': '',
margin: '',
'border-radius': '',
};
/**
* @type {globalThis}
*/
export const window = typeof unsafeWindow === 'object' ? unsafeWindow : globalThis;
export const SOCKET_SCRIPT_CLOSED = 3500;
export const HOUR = 60 * 60 * 1000;
export const DAY = 24 * HOUR;
export function noop() {}