mirror of
				https://gitlab.com/MrFry/moodle-test-userscript
				synced 2025-04-01 20:22:48 +02:00 
			
		
		
		
	Changed menu button id, incremented version
This commit is contained in:
		
							
								
								
									
										2
									
								
								frame.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								frame.js
									
									
									
									
									
								
							| @@ -21,7 +21,7 @@ | ||||
|  | ||||
| // ==UserScript== | ||||
| // @name         Moodle/Elearning/KMOOC test help | ||||
| // @version      1.6.2.5 | ||||
| // @version      1.6.2.6 | ||||
| // @description  Online Moodle/Elearning/KMOOC test help | ||||
| // @author       YourFriendlyNeighborhoodDealer | ||||
| // @match        https://elearning.uni-obuda.hu/main/* | ||||
|   | ||||
							
								
								
									
										4
									
								
								main.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								main.js
									
									
									
									
									
								
							| @@ -1044,7 +1044,7 @@ function HandleUI(url, count, subjCount) { | ||||
| 	if (!newVersion && !loaded) // -------------------------------------------------------------------------------------------------------------- | ||||
| 	{ | ||||
| 		greetMsg = | ||||
| 			"Hiba a @resource tagnál, vagy a fileval van gond! (Lehet át lett helyezve, vagy üres.) Vagy válaszd a netes adatok használatát menüben. Ellenőrizd az elérési utat, vagy hogy a Tampermonkey bővítmény eléri-e a fájlokat. Ha netes forrást használsz, akkor nem elérhető a szerver! Segítségért kattints!"; | ||||
| 			"Hiba a @resource tagnál, vagy a fileval van gond! (Lehet át lett helyezve, vagy üres, vagy nincs tárgy kiválasztva) Vagy válaszd a netes adatok használatát menüben. Ellenőrizd az elérési utat, vagy hogy a Tampermonkey bővítmény eléri-e a fájlokat. Ha netes forrást használsz, akkor nem elérhető a szerver! Segítségért kattints!"; | ||||
| 	} | ||||
| 	var showSplash = (GM_getValue("showSplash") == undefined) || GM_getValue("showSplash"); // getting value, if splash screen should be shown. Its true, if its undefined, or true | ||||
| 	// no new version, everything loaded, and show splash is enabled. otherwise something happened, so showing it | ||||
| @@ -1760,7 +1760,6 @@ function ShowMenu() { | ||||
| 		// mainDiv.style.left = (window.innerWidth - width) / 2 + 'px'; | ||||
|  | ||||
| 		var menuButtonDiv = document.createElement("div"); | ||||
| 		menuButtonDiv.setAttribute("id", "HelperMenuButton"); | ||||
| 		menuButtonDiv.style.width = buttonWidth + 'px'; | ||||
| 		menuButtonDiv.style.height = buttonHeight + 'px'; | ||||
| 		menuButtonDiv.style.top = (window.innerHeight - buttonHeight * 1.5) + 'px'; | ||||
| @@ -1785,6 +1784,7 @@ function ShowMenu() { | ||||
| 		menuButton.style.height = buttonHeight - 20 + 'px'; | ||||
| 		menuButton.style.background = "#222d32"; // background color | ||||
| 		menuButton.style.color = "#ffffff"; // background color | ||||
| 		menuButton.setAttribute("id", "HelperMenuButton"); | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user