-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkad.js
34 lines (27 loc) · 854 Bytes
/
kad.js
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
27
28
29
30
31
32
33
34
"use strict";
import {
windowForUserScript,
defaultMD,
addBattons,
addTamplaties,
addStaticOnLocalStorage,
usersSettings,
checkReload,
statisticsInterface
} from './index.js'
if (document.location.href === `https://kad.arbitr.ru/`) { windowForUserScript() }
if (document.location.href != `https://kad.arbitr.ru/`) {
window.onload = onloadPage();
function onloadPage() {
addBattons()
statisticsInterface()
if (usersSettings.autoMD == "checked") { defaultMD() }
if (usersSettings.tamplaties == "checked") { addTamplaties() }
if (usersSettings.checkReload == "checked") { checkReload() }
if (usersSettings.statCollect == "checked") { addStaticOnLocalStorage() }
if (false) {
//Тут будет выбора составов пользателя
}
}
}