diff --git a/main.js b/main.js
index 9da408a..fa8aea6 100644
--- a/main.js
+++ b/main.js
@@ -771,6 +771,7 @@ function Main () {
}
})
+
console.log('Moodle Test Script run time:')
console.timeEnd('main')
@@ -824,15 +825,12 @@ function VersionActions () {
// GM_setValue("version15", true);
// GM_setValue("firstRun", true);
// GM_setValue("version16", true);
- // GM_setValue("version161", true);
// throw "asd";
- let r = FreshStart()
- if (r !== true) { GM_setValue('version161', false) }
+ FreshStart()
Version15()
Version16()
- Version161()
}
// : Version action functions {{{
@@ -871,19 +869,6 @@ function Version16 () {
}
}
-function Version161 () {
- var version161 = GM_getValue('version161') // if the current run is the frst
- if (version161 === undefined || version161 === true) {
- GM_setValue('useNetDB', '1')
- GM_setValue('version161', false)
- document.write(
- '
Moodle teszt userscript:1.6.1.0 verzió: Új domain név: qmining.tk. Ha frissíted az oldalt, akkor tampremonkey rá fog kérdezni, hpgy engedélyezed-e a kérdések külését erre az új domain-re. A rendes működés érdekében kattints a "Allow always domain"-gombra
'
- )
- document.close()
- throw 'something, so this stuff stops' // eslint-disable-line
- }
-}
-
// : }}}
var GetFileData = () => {
@@ -1902,6 +1887,17 @@ function ShowMenuList () {
subjTable.style.textAlign = 'left'
subjTable.style.width = '98%'
+ var tr = subjTable.insertRow()
+ var header1 = tr.insertCell()
+
+ var headerSubjInfoParagraph = CreateNodeWithText(header1, 'Tárgynév [darab kérdés]', 'center')
+ headerSubjInfoParagraph.style.margin = fiveMargin // fancy margin
+
+ var header2 = tr.insertCell()
+ var headerSubjInfoParagraph2 = CreateNodeWithText(header2, 'Aktív')
+ headerSubjInfoParagraph2.style.margin = fiveMargin // fancy margin
+
+ // TODO: group here
if (data && data.length > 0) {
for (let i = 0; i < data.length; i++) {
var subjRow = subjTable.insertRow()
@@ -1977,6 +1973,8 @@ function ShowMenuList () {
GM_setValue('showSplash', splashTickBox.checked)
}) // adding clicktextNode
+ CreateNodeWithText(splashTickboxCell, 'Üdvözlő üzenet mutatása minden oldalon', 'span')
+
// show questons tickbox -----------------------------------------------------------------------------------------------------------------------------
var questionTickboxRow = tbl.insertRow()
var questionTickboxCell = questionTickboxRow.insertCell()
@@ -2001,6 +1999,8 @@ function ShowMenuList () {
}
}) // adding clicktextNode
+ CreateNodeWithText(questionTickboxCell, 'Kérdések mutatása válaszhoz', 'span')
+
// database mode listbox -----------------------------------------------------------------------------------------------------------------------------
var databasemodeListboxRow = tbl.insertRow()
var databasemodeListboxCell = databasemodeListboxRow.insertCell()