This commit is contained in:
mrfry 2022-05-15 13:36:41 +02:00
parent a19fe1236c
commit 4ac075b9fe

View file

@ -46,7 +46,7 @@
// : Script header {{{
// ==UserScript==
// @name Moodle/Elearning/KMOOC test help
// @version 2.1.3.9
// @version 2.1.3.10
// @description Online Moodle/Elearning/KMOOC test help
// @author MrFry
// @match https://elearning.uni-obuda.hu/*
@ -122,11 +122,11 @@
// Devel vars
// ------------------------------------------------------------------------------
// forcing pages for testing. unless you test, do not set these to true!
const isDevel = false
const isDevel = true
const forcedMatchString = isDevel ? 'default' : null
// only one of these should be true for testing
const forceTestPage = isDevel && false
const forceResultPage = isDevel && false
const forceResultPage = isDevel && true
const forceDefaultPage = isDevel && false
// ------------------------------------------------------------------------------
@ -1429,7 +1429,10 @@
function Main() {
'use strict'
log('Moodle / E-Learning script')
console.log(
'%c Moodle / E-Learning script',
'font-weight: bold; font-size: 50px;color: yellow; text-shadow: 3px 3px 0 rgb(245,221,8) , 6px 6px 0 rgb(226,91,14) , 9px 9px 0 rgb(217,31,38) , 12px 12px 0 rgb(5,148,68) , 15px 15px 0 rgb(2,135,206) , 18px 18px 0 rgb(4,77,145) , 21px 21px 0 rgb(42,21,113)'
)
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', Init)