mirror of
https://github.com/NohamR/Pocket-Bird.git
synced 2026-07-10 10:23:05 +00:00
Add extension manifest
This commit is contained in:
1 parent
ab33090eb6
commit
a94cc92c52
6 files changed
+56
-9
No files matched your search
Vendored
+4
-2
@@ -1043,7 +1043,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() {
|
||||
@@ -1297,7 +1299,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();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Vendored
+5
-3
@@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Browser Bird
|
||||
// @namespace https://idreesinc.com
|
||||
// @version 2025-09-15-01
|
||||
// @version 2025.9.16.1
|
||||
// @description birb
|
||||
// @author Idrees
|
||||
// @downloadURL https://github.com/IdreesInc/Browser-Bird/raw/refs/heads/main/dist/birb.user.js
|
||||
@@ -1057,7 +1057,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() {
|
||||
@@ -1311,7 +1313,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();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user