mirror of
https://github.com/FlamedDogo99/EaglerMobile.git
synced 2024-12-22 15:24:14 -08:00
Compare commits
1 Commits
c2acc1bb4e
...
756701b62d
Author | SHA1 | Date | |
---|---|---|---|
|
756701b62d |
|
@ -6,22 +6,15 @@
|
||||||
// @downloadURL https://raw.githubusercontent.com/FlamedDogo99/EaglerMobile/main/eaglermobile.user.js
|
// @downloadURL https://raw.githubusercontent.com/FlamedDogo99/EaglerMobile/main/eaglermobile.user.js
|
||||||
// @license Apache License 2.0 - http://www.apache.org/licenses/
|
// @license Apache License 2.0 - http://www.apache.org/licenses/
|
||||||
// @match https://eaglercraft.com/mc/*
|
// @match https://eaglercraft.com/mc/*
|
||||||
// @version 3.0.6
|
// @version 3.0.5b
|
||||||
// @updateURL https://raw.githubusercontent.com/FlamedDogo99/EaglerMobile/main/eaglermobile.user.js
|
// @updateURL https://raw.githubusercontent.com/FlamedDogo99/EaglerMobile/main/eaglermobile.user.js
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// @grant none
|
// @grant none
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
console.log("Eagler Mobile v3.0.6");
|
// Removed brainless unsafeWindow
|
||||||
// Check for object defined by most userscript applications, and run the script in the page context if so
|
console.log("Eagler Mobile v3.0.5b")
|
||||||
|
// TODO: remove the mobile check is implement the dynamic enabling and disabling of individual features
|
||||||
if (typeof GM_info !== "undefined") {
|
|
||||||
location.href = "javascript:(" + encodeURI(main) + ")();";
|
|
||||||
} else {
|
|
||||||
main();
|
|
||||||
}
|
|
||||||
// TODO: remove the mobile check and implement the dynamic enabling and disabling of individual features
|
|
||||||
function main() {
|
|
||||||
function isMobile() {
|
function isMobile() {
|
||||||
try {
|
try {
|
||||||
document.createEvent("TouchEvent");
|
document.createEvent("TouchEvent");
|
||||||
|
@ -870,4 +863,3 @@ function main() {
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
document.documentElement.appendChild(customStyle);
|
document.documentElement.appendChild(customStyle);
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user