mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
Adding cid to login page
This commit is contained in:
parent
a8e47bc73d
commit
7dc12dbfa0
1 changed files with 9 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
// ==UserScript==
|
||||
// @name Moodle/Elearning/KMOOC test help
|
||||
// @version 2.0.1.0
|
||||
// @version 2.0.1.1
|
||||
// @description Online Moodle/Elearning/KMOOC test help
|
||||
// @author MrFry
|
||||
// @match https://elearning.uni-obuda.hu/main/*
|
||||
|
@ -659,6 +659,14 @@
|
|||
|
||||
// : Loading {{{
|
||||
function HandleQminingSite (url) {
|
||||
try {
|
||||
const idInput = document.getElementById('cid')
|
||||
if (idInput) {
|
||||
idInput.value = getVal('clientId')
|
||||
}
|
||||
} catch (e) {
|
||||
console.info('Error filling client ID input', e)
|
||||
}
|
||||
try {
|
||||
const sideLinks = document.getElementById('sideBarLinks')
|
||||
if (!sideLinks) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue