Update edupage.user.js

This commit is contained in:
Bruno Rybársky 2023-10-25 22:04:51 +02:00
parent b526e4b09a
commit 0b6fd91a8c

@ -1,7 +1,7 @@
// ==UserScript==
// @name Edupage H4x
// @namespace https://brn.systems
// @version 0.2.18
// @version 0.2.19
// @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts
// @description Gives you a bit more options on EduPage, some are broken
// @author BRNSystems
@ -219,11 +219,16 @@
if (typeof unsafeWindow.barEncLink === 'function') {
unsafeWindow.barEncLink = modifiedbarEncLink;
unsafeWindow.AscMobileAppVersion = "69420";
MobileAppBridge.isActive
var edupost = unsafeWindow.$j.post;
function newpost(url, data, success, dataType, eqav){
edupost(url, data, success, dataType, 7);
}
//unsafeWindow.$j.post = newpost;
MobileAppBridge.isActive = function() {
return false;
}
console.log("barEncLink overriden successfully.");
}
else {