mirror of
				https://gitlab.com/MrFry/moodle-test-userscript
				synced 2025-04-01 20:22:48 +02:00 
			
		
		
		
	Init log
This commit is contained in:
		@@ -46,7 +46,7 @@
 | 
				
			|||||||
// : Script header {{{
 | 
					// : Script header {{{
 | 
				
			||||||
// ==UserScript==
 | 
					// ==UserScript==
 | 
				
			||||||
// @name         Moodle/Elearning/KMOOC test help
 | 
					// @name         Moodle/Elearning/KMOOC test help
 | 
				
			||||||
// @version      2.1.3.9
 | 
					// @version      2.1.3.10
 | 
				
			||||||
// @description  Online Moodle/Elearning/KMOOC test help
 | 
					// @description  Online Moodle/Elearning/KMOOC test help
 | 
				
			||||||
// @author       MrFry
 | 
					// @author       MrFry
 | 
				
			||||||
// @match        https://elearning.uni-obuda.hu/*
 | 
					// @match        https://elearning.uni-obuda.hu/*
 | 
				
			||||||
@@ -122,11 +122,11 @@
 | 
				
			|||||||
  // Devel vars
 | 
					  // Devel vars
 | 
				
			||||||
  // ------------------------------------------------------------------------------
 | 
					  // ------------------------------------------------------------------------------
 | 
				
			||||||
  // forcing pages for testing. unless you test, do not set these to true!
 | 
					  // forcing pages for testing. unless you test, do not set these to true!
 | 
				
			||||||
  const isDevel = false
 | 
					  const isDevel = true
 | 
				
			||||||
  const forcedMatchString = isDevel ? 'default' : null
 | 
					  const forcedMatchString = isDevel ? 'default' : null
 | 
				
			||||||
  // only one of these should be true for testing
 | 
					  // only one of these should be true for testing
 | 
				
			||||||
  const forceTestPage = isDevel && false
 | 
					  const forceTestPage = isDevel && false
 | 
				
			||||||
  const forceResultPage = isDevel && false
 | 
					  const forceResultPage = isDevel && true
 | 
				
			||||||
  const forceDefaultPage = isDevel && false
 | 
					  const forceDefaultPage = isDevel && false
 | 
				
			||||||
  // ------------------------------------------------------------------------------
 | 
					  // ------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1429,7 +1429,10 @@
 | 
				
			|||||||
  function Main() {
 | 
					  function Main() {
 | 
				
			||||||
    'use strict'
 | 
					    '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') {
 | 
					    if (document.readyState === 'loading') {
 | 
				
			||||||
      document.addEventListener('DOMContentLoaded', Init)
 | 
					      document.addEventListener('DOMContentLoaded', Init)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user