mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
HTTPS server update
This commit is contained in:
4
main.js
4
main.js
@@ -23,7 +23,7 @@
|
|||||||
var data; // all data, which is in the resource txt
|
var data; // all data, which is in the resource txt
|
||||||
var addEventListener; // add event listener function
|
var addEventListener; // add event listener function
|
||||||
var lastChangeLog = '- Kérdések adatstruktúra változtatás. Ha jól csináltam, akkor semmit se kellene észrevenni. \n Ha nem, akkor weboldalon lehet hibát jelezni!';
|
var lastChangeLog = '- Kérdések adatstruktúra változtatás. Ha jól csináltam, akkor semmit se kellene észrevenni. \n Ha nem, akkor weboldalon lehet hibát jelezni!';
|
||||||
var serverAdress = "http://questionmining.tk/";
|
var serverAdress = "https://questionmining.tk/";
|
||||||
|
|
||||||
// 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!
|
||||||
// only one of these should be true for testing
|
// only one of these should be true for testing
|
||||||
@@ -1960,8 +1960,6 @@ function NormalizeSpaces(input) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function SendXHRMessage(message) {
|
function SendXHRMessage(message) {
|
||||||
console.log("HAAAAAAAAAAAAAAAAAAAAAAAAAAA");
|
|
||||||
|
|
||||||
var url = serverAdress + "isAdding";
|
var url = serverAdress + "isAdding";
|
||||||
GM_xmlhttpRequest({
|
GM_xmlhttpRequest({
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
Reference in New Issue
Block a user