todo removes, minor tidy

This commit is contained in:
MrFry 2020-01-13 15:15:27 +01:00
parent ba9f812041
commit 05508571e6
2 changed files with 3 additions and 7 deletions

@ -1 +1 @@
Subproject commit 01b971b4c875a4be8b7a8c6dcdd58b2d83761f9d
Subproject commit 5dac788b18b7240a4194a2a37ecbee857292800d

View file

@ -41,10 +41,7 @@
// ==/UserScript==
//
// TODO:
// test select boxes on result page
// grabboxes test on quiz page
// image in questions sorted ! deleted ?
// image in question in general
(function() { // eslint-disable-line
// GM functions, only to disable ESLINT errors
@ -66,7 +63,7 @@
// forcing pages for testing. unless you test, do not set these to true!
// only one of these should be true for testing
const forceTestPage = false
const forceResultPage = true
const forceResultPage = false
const forceDefaultPage = false
const logElementGetting = false
const log = true
@ -1448,8 +1445,7 @@
sentData.data = newQuestions
sentData.version = info().script.version
sentData.id = GetId()
console.log('SENT DATA') // TODO
console.log(sentData)
Log('SENT DATA', sentData)
SendXHRMessage('datatoadd=' + JSON.stringify(sentData))
sendSuccess = true
} catch (e) {