Added noframes to header

This commit is contained in:
MrFry 2020-04-06 14:32:26 +02:00
parent d9f9a16b49
commit 6016b13403

View file

@ -21,7 +21,7 @@
// ==UserScript== // ==UserScript==
// @name Moodle/Elearning/KMOOC test help // @name Moodle/Elearning/KMOOC test help
// @version 2.0.0.6 // @version 2.0.0.7
// @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/main/*
@ -29,6 +29,7 @@
// @match https://mooc.unideb.hu/* // @match https://mooc.unideb.hu/*
// @match https://qmining.frylabs.net/* // @match https://qmining.frylabs.net/*
// @match http://qmining.frylabs.net/* // @match http://qmining.frylabs.net/*
// @noframes
// @grant GM_getResourceText // @grant GM_getResourceText
// @grant GM_info // @grant GM_info
// @grant GM_getValue // @grant GM_getValue
@ -1792,7 +1793,7 @@
xmlhttpRequest({ xmlhttpRequest({
method: 'POST', method: 'POST',
url: url, url: url,
xhrFields: { withCredentials: true }, // xhrFields: { withCredentials: true },
data: message, data: message,
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'