Update edupage.user.js
This commit is contained in:
parent
2085137481
commit
e270df8472
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Edupage H4x
|
// @name Edupage H4x
|
||||||
// @namespace https://brn.systems
|
// @namespace https://brn.systems
|
||||||
// @version 0.2.21
|
// @version 0.2.22
|
||||||
// @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts
|
// @copyright Can be found at https://git.brn.systems/BRNSystems/Userscripts
|
||||||
// @description Gives you a bit more options on EduPage, some are broken
|
// @description Gives you a bit more options on EduPage, some are broken
|
||||||
// @author BRNSystems
|
// @author BRNSystems
|
||||||
@ -219,11 +219,10 @@
|
|||||||
if (typeof unsafeWindow.barEncLink === 'function') {
|
if (typeof unsafeWindow.barEncLink === 'function') {
|
||||||
unsafeWindow.barEncLink = modifiedbarEncLink;
|
unsafeWindow.barEncLink = modifiedbarEncLink;
|
||||||
//unsafeWindow.AscMobileAppVersion = "69420";
|
//unsafeWindow.AscMobileAppVersion = "69420";
|
||||||
function newpost(url, data, success, dataType, eqav) {
|
unsafeWindow.$j.post = function(url, data, success, dataType, eqav) {
|
||||||
url += (url.indexOf('?') >= 0 ? '&' : '?')+'eqav='+eqav+'&maxEqav='+maxEqav
|
url += (url.indexOf('?') >= 0 ? '&' : '?')+'eqav='+eqav+'&maxEqav='+unsafeWindow.maxEqav;
|
||||||
return $j.origPost(url, data, success, dataType);
|
return $j.origPost(url, data, success, dataType);
|
||||||
}
|
};
|
||||||
unsafeWindow.$j.post = newpost;
|
|
||||||
//MobileAppBridge.isActive = function() {
|
//MobileAppBridge.isActive = function() {
|
||||||
// return false;
|
// return false;
|
||||||
//}
|
//}
|
||||||
|
Loading…
Reference in New Issue
Block a user