Add extension manifest

This commit is contained in:
Idrees Hassan
2025-09-16 17:10:08 -04:00
parent ab33090eb6
commit a94cc92c52
6 changed files with 56 additions and 9 deletions

View File

@@ -704,7 +704,9 @@ Promise.all([loadSpriteSheetPixels(SPRITE_SHEET), loadSpriteSheetPixels(DECORATI
}
function isTestEnvironment() {
return window.location.hostname === "127.0.0.1";
return window.location.hostname === "127.0.0.1"
|| window.location.hostname === "localhost"
|| window.location.hostname.startsWith("192.168.");
}
function load() {
@@ -958,7 +960,7 @@ Promise.all([loadSpriteSheetPixels(SPRITE_SHEET), loadSpriteSheetPixels(DECORATI
lastActionTimestamp = Date.now();
// Can't keep up with scrolling on mobile devices so fly down instead
if (isMobile()) {
focusOnGround();
// focusOnGround();
}
});