A userscript that allows EaglerCraft to run on mobile browsers. As of June 15, 2023, the Eagler Mobile script is directly integrated with the main EaglerCraft website!
APACHE-2.0 License
Bot releases are hidden (Show)
Full Changelog: https://github.com/FlamedDogo99/EaglerMobile/compare/v3.0.4...v3.0.5
Published by FlamedDogo99 4 months ago
beforeinput
instead of input
beforeinput
does not require the input to contain text to detect deletionkeyboardEnabled
has been replaced with hiddenInputFocused
select
or blur
based on clientWindow.keyboardEnabled
. When the user dismissed the keyboard without pressing the keyboardButton, they would need to repress the button twice to enable the keyboard. This change makes it call select
and blur
based on the focus state, eliminating that issuetoggleKeyboard
no longer exists, and has been moved inside of the keyboardButton touch event listener
html
, body
, and canvas
now have a height: 100 svh
before -webkit-fill-available
Full Changelog: https://github.com/FlamedDogo99/EaglerMobile/compare/v3.0.3...v3.0.4
Published by FlamedDogo99 4 months ago
Possibly resolves #15 and #7
window
are now clientWindow
window
object to be used when unsafeWindow is undefined.inputFix
window state, which is turned on when double input events are detected
input
event when the input element is programmatically updated. When we set the input for the first time as the DOM loads, we can see if this is happening. If it is, we ignore every other duplicate key press.Full Changelog: https://github.com/FlamedDogo99/EaglerMobile/compare/v3.0.2...v3.03
Published by FlamedDogo99 4 months ago
Document.prototype.createEvent
injected function to fix #11 and avoid conflicts causing crashes with #7.Full Changelog: https://github.com/FlamedDogo99/EaglerMobile/compare/v3.0.1...v3.0.2
Published by FlamedDogo99 5 months ago
Keyboard support (Android and iOS):
keydown
or input
events are used for keyboard capture.Better keyEvent functions
shiftKeyEvent()
, deleteKeyEvent()
, and keyEvent()
into a single keyEvent
function that supports more keyskeyEvent()
or set event.isValid
to true
to allow the input
keyboard events to workFake pointerlock and fullscreen API
Full Changelog: https://github.com/FlamedDogo99/EaglerMobile/compare/v2.4...v3.0.1
Published by FlamedDogo99 5 months ago
To-do
Implemented
Full Changelog: https://github.com/FlamedDogo99/EaglerMobile/commits/v2.4