Repository navigation
π PanGalactic Monkey β Extension Page Scrolling Update [Chunky Only]
π§ TLDR
-Options pages in Extensions now work but need hardcoded if not defaulted to options.html.
-Although options/settings pages work, they cannot be scrolled and require using the FastForward button on the remote.
-Organized Extensions so it is at the top of the hamburger menu, added Open Settings in the Manage: Extension window, and added wrap-around for d-pad navigation.
-Slowed default cursor and scrolling speed.
-Would love to hear if anyone has any ideas to incorporate proper scrolling as below details all of the failed attempts since the extension pages are protected (see below).
π§© UI & UX Improvements
π Settings URL Fix
Extension list refresh ensures metaData.baseUrl is populated before opening Manage/Settings.
π UI Order
- "Extensions" is now the first main menu item.
- "Open Popup" and "Open Settings" live inside the Manage dialog.
π οΈ Install Buttons Fix
- Install entries for Dark Reader / uBlock Origin are hidden when already installed.
- Dynamic install entries update based on installed state.
- Settings URLs now use
metaData.baseUrl.
π Toast Notifications
- Toasts appear when installing extensions or opening extension pages.
- Users are reminded to use fast-forward scrolling.
ποΈ Hamburger Menu Wrap
- Menu wraps topβbottom.
- Focus highlight uses vibrant green
#03fc6f.
β© Fast-Forward Button
- Fast-forward triggers Smart Scroll-Down instead of history navigation.
- One-time toast explains this on first extension-page visit.
π’ Misc
- Default cursor speed and scroll speed adjusted to be slower.
π Extension Page Scrolling β Investigation Summary
Root Cause Identified
Firefox for Android blocks two major interaction paths on moz-extension:// pages:
- WebExtension content-script injection is permanently disabled.
- Synthetic touch/pointer input routed through
PanZoomControllercannot change scroll position.
Additionally, uBlock Origin loads its dashboard inside an <iframe>, and SessionFinder cannot search or scroll inside iframes.
π Methods That Failed
| # | Failed Method | Result |
|---|---|---|
| 1 | Synthetic touch/click via PanZoomController.onTouchEvent() |
No effect |
| 2 | Synthetic scroll wheel events | No effect |
| 3 | Synthetic pinch-zoom gesture | No visible zoom change |
| 4 | javascript: URI navigation |
Blocked by Firefox CSP |
| 5 | GeckoJSBridge content-script injection |
Cannot run in extension pages |
| 6 | Synthetic keyboard events | No effect |
| 7 | Accessibility scroll actions | No scroll effect |
| 8 | Full accessibility tree enablement | Did not resolve scroll failure |
| 9 | Session targeting fix | Events reached correct tab; still no scroll |
| 10 | View-level zoom-out | Shrinks frame; reveals grey space only |
| 11 | Enlarging GeckoView surface | Extra area remains blank |
| 12 | displayDensityOverride() |
API does not exist |
| 13 | Direct navigation into dashboard subpages | Still confined to top-level shell |
β οΈ Outstanding Issue: uBlock Origin
uBlock Origin's dashboard cannot be scrolled. SessionFinder only reaches the header row and cannot enter the iframe containing filter lists. All synthetic input, accessibility actions, JS injection, and navigation approaches failed.
π§ͺ Partial Successes
SessionFinder.find()works on flat extension pages without iframes like Dark Reader.- Auto-scroll automation works wherever Finder works via holding Fast Forward button on remote.
β‘ Smart Scroll-Down (Working Solution)
A robust scrolling mechanism was built using SessionFinder.find():
- Uses fallback anchors (
e,a,o,i,0,1). - Fast-forward jumps to the next match.
- Anchor fallback if matches disappear.
Alternatively, AdGuard settings page does work properly with FastForward button however it requires using phone to enter Custom Filter.
In the future, Chunky will need its own Userscript management system like Slim and also require a separate custom extension for adblocking with the addition of easily adding custom filterlist since GeckoView's public API doesn't expose an equivalent to WebView's shouldInterceptRequest for blocking individual sub-resources (images, scripts, XHR, ad pixels, etc.)
Feel free to message me on Reddit (UAPArchives) or on Discord (UAPArchives) looking for feedback, feature requests, and anything else related to improving the app.
Please add a new issue if an extension you use requires a hardcoded settings page - you will see "Settings URL Does Not Exist" toast notification or simply about:blank page.