mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Removed main.js and fram.js, updated readme, sending version on lred
This commit is contained in:
parent
e23482c3e8
commit
72f7bde190
4 changed files with 3 additions and 2220 deletions
|
@ -4,15 +4,6 @@ This userscript shows help during solving Moodle/Elearning/KMOOC tests online.
|
||||||
|
|
||||||
<a href="https://gitlab.com/MrFry/question-node-server">Server repository link</a>
|
<a href="https://gitlab.com/MrFry/question-node-server">Server repository link</a>
|
||||||
|
|
||||||
If you want to install from here then:
|
|
||||||
Open a blank text file
|
|
||||||
Paste everything from frame.js
|
|
||||||
Paste main.js between '(function() {' and '})();'
|
|
||||||
Search for 'function Main', and type Main(); right before it
|
|
||||||
|
|
||||||
You could also add '// (AT)require file://<path>/main.js' to frame.js, and simply call 'Main();'
|
|
||||||
there.
|
|
||||||
|
|
||||||
<img src="https://qmining.tk/img/1.png" width="420">
|
<img src="https://qmining.tk/img/1.png" width="420">
|
||||||
<img src="https://qmining.tk/img/2.png" width="420">
|
<img src="https://qmining.tk/img/2.png" width="420">
|
||||||
<img src="https://qmining.tk/img/3.png" width="420">
|
<img src="https://qmining.tk/img/3.png" width="420">
|
||||||
|
|
47
frame.js
47
frame.js
|
@ -1,47 +0,0 @@
|
||||||
/* ----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
Online Moodle/Elearning/KMOOC test help
|
|
||||||
Greasyfork: <https://greasyfork.org/en/scripts/38999-moodle-elearning-kmooc-test-help>
|
|
||||||
GitLab: <https://gitlab.com/MrFry/moodle-test-userscript>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------- */
|
|
||||||
|
|
||||||
// ==UserScript==
|
|
||||||
// @name Moodle/Elearning/KMOOC test help
|
|
||||||
// @version 1.6.4.3
|
|
||||||
// @description Online Moodle/Elearning/KMOOC test help
|
|
||||||
// @author MrFry
|
|
||||||
// @match https://elearning.uni-obuda.hu/main/*
|
|
||||||
// @match https://elearning.uni-obuda.hu/kmooc/*
|
|
||||||
// @match https://mooc.unideb.hu/*
|
|
||||||
// @grant GM_getResourceText
|
|
||||||
// @grant GM_info
|
|
||||||
// @grant GM_getValue
|
|
||||||
// @grant GM_setValue
|
|
||||||
// @grant GM_xmlhttpRequest
|
|
||||||
// @grant GM_openInTab
|
|
||||||
// @license GNU General Public License v3.0 or later
|
|
||||||
// @supportURL qmining.frylabs.net
|
|
||||||
// @contributionURL qmining.frylabs.net
|
|
||||||
// @namespace https://qmining.frylabs.net
|
|
||||||
// @updateURL https://qmining.frylabs.net/moodle-test-userscript/stable.user.js
|
|
||||||
// ==/UserScript==
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
})();
|
|
|
@ -40,7 +40,7 @@
|
||||||
// @updateURL https://qmining.frylabs.net/moodle-test-userscript/stable.user.js
|
// @updateURL https://qmining.frylabs.net/moodle-test-userscript/stable.user.js
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
(function() {
|
(function() { // eslint-disable-line
|
||||||
// GM functions, only to disable ESLINT errors
|
// GM functions, only to disable ESLINT errors
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
const a = Main
|
const a = Main
|
||||||
|
@ -2135,6 +2135,7 @@
|
||||||
if (e.stack) {
|
if (e.stack) {
|
||||||
path += '___stack:' + SUtils.SimplifyStack(e.stack)
|
path += '___stack:' + SUtils.SimplifyStack(e.stack)
|
||||||
}
|
}
|
||||||
|
path += '___version:' + info().script.version
|
||||||
path = SUtils.RemoveSpecialChars(path)
|
path = SUtils.RemoveSpecialChars(path)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
Exception(e, 'error at setting error stack/msg link')
|
Exception(e, 'error at setting error stack/msg link')
|
||||||
|
@ -2180,4 +2181,4 @@
|
||||||
|
|
||||||
// O deepest wound of all that he should die
|
// O deepest wound of all that he should die
|
||||||
// On that darkest day.
|
// On that darkest day.
|
||||||
})();
|
})(); // eslint-disable-line
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue