mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
firefox opacity fix
This commit is contained in:
parent
4c90321380
commit
ff626c9fd5
1 changed files with 4 additions and 4 deletions
|
@ -49,8 +49,7 @@
|
||||||
// @version 2.1.0.1
|
// @version 2.1.0.1
|
||||||
// @description Online Moodle/Elearning/KMOOC test help
|
// @description Online Moodle/Elearning/KMOOC test help
|
||||||
// @author MrFry
|
// @author MrFry
|
||||||
// @match https://elearning.uni-obuda.hu/main/*
|
// @match https://elearning.uni-obuda.hu/*
|
||||||
// @match https://elearning.uni-obuda.hu/kmooc/*
|
|
||||||
// @match https://mooc.unideb.hu/*
|
// @match https://mooc.unideb.hu/*
|
||||||
// @match https://itc.semmelweis.hu/moodle/*
|
// @match https://itc.semmelweis.hu/moodle/*
|
||||||
// @match https://oktatas.mai.kvk.uni-obuda.hu/*
|
// @match https://oktatas.mai.kvk.uni-obuda.hu/*
|
||||||
|
@ -1255,6 +1254,7 @@
|
||||||
}
|
}
|
||||||
if (!installedFromCorrectSource(correctSource)) {
|
if (!installedFromCorrectSource(correctSource)) {
|
||||||
greetMsg.push(texts.reinstallFromCorrectSource)
|
greetMsg.push(texts.reinstallFromCorrectSource)
|
||||||
|
console.log(`update url:${info().script.updateURL}`)
|
||||||
}
|
}
|
||||||
if (showMOTD) {
|
if (showMOTD) {
|
||||||
greetMsg.push(texts.motd + motd)
|
greetMsg.push(texts.motd + motd)
|
||||||
|
@ -1563,8 +1563,8 @@
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
let currOpacity = getVal(`${elem.id}_opacity`)
|
let currOpacity = getVal(`${elem.id}_opacity`) || 1
|
||||||
elem.addEventListener('mousewheel', e => {
|
elem.addEventListener('wheel', e => {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
const isUp = e.deltaY < 0
|
const isUp = e.deltaY < 0
|
||||||
if (isUp) {
|
if (isUp) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue