Overview | News | Windows | macOS | Android | iOS | Audio Formats | Components | Encoder Pack | Screenshots | Help & Support | Developer | Old Versions | Other Projects | Blog & Rants
JS Panel
By: santirod
JavaScript Panel to personalize foobar into next level. Works with foo_navidrome and foo_ui_panels
Current version: 1.9.0, released on 2026-11-16
Change log:
Highlights
- **Real HTML dialogs**: `utils.ShowHtmlDialog` opens the theme's page in a real window, the Internet Explorer engine Spider Monkey Panel used on Windows and WebKit on macOS. Forms work now (Eole's input and radio dialogs used to be answered Cancel), and the page's buttons call back into the script.
- **Windowless panels take drag and drop**: with Panels UI 1.26.0, tracks and files dragged onto a `panel.<name>.windowless = 1` panel reach its script, `fb.DoDragDrop` starts drags from it, and its `SetPseudoCaption` area moves the window.
Added
- `window.IsDark` for every script: foobar2000's dark mode (Georgia-ReBORN switches *View › Mode* with it).
- `utils.HTTPRequestAsync` for every script, with or without a window id, answered by `on_http_request_done` with the response headers.
- Response headers: `fetch`'s `Response.headers`, XMLHTTP's `getResponseHeader` and `getAllResponseHeaders` (the common ones: content type, length, dates, `etag`, caching, `location`, cookies, rate limits).
- `UIWizard` (Georgia-ReBORN's window control) moves, sizes, maximizes and snaps the main window instead of doing nothing: window state, position and size, grid positions, size limits, the caption area and full screen.
- JScript Panel 3: the playlist recycler (`RecyclerCount`, `GetRecyclerName`, `GetRecyclerItems`, `RecyclerRestore`, `RecyclerPurge`) and `fb.GetAudioChunk`, so VU meters move.
- macOS: Segoe Fluent Icons and Segoe MDL2 Assets icons (JScript Panel 3's playback, rating, check box and menu buttons) draw as symbols instead of boxes.
- **Real HTML dialogs**: `utils.ShowHtmlDialog` opens the theme's page in a real window, the Internet Explorer engine Spider Monkey Panel used on Windows and WebKit on macOS. Forms work now (Eole's input and radio dialogs used to be answered Cancel), and the page's buttons call back into the script.
- **Windowless panels take drag and drop**: with Panels UI 1.26.0, tracks and files dragged onto a `panel.<name>.windowless = 1` panel reach its script, `fb.DoDragDrop` starts drags from it, and its `SetPseudoCaption` area moves the window.
Added
- `window.IsDark` for every script: foobar2000's dark mode (Georgia-ReBORN switches *View › Mode* with it).
- `utils.HTTPRequestAsync` for every script, with or without a window id, answered by `on_http_request_done` with the response headers.
- Response headers: `fetch`'s `Response.headers`, XMLHTTP's `getResponseHeader` and `getAllResponseHeaders` (the common ones: content type, length, dates, `etag`, caching, `location`, cookies, rate limits).
- `UIWizard` (Georgia-ReBORN's window control) moves, sizes, maximizes and snaps the main window instead of doing nothing: window state, position and size, grid positions, size limits, the caption area and full screen.
- JScript Panel 3: the playlist recycler (`RecyclerCount`, `GetRecyclerName`, `GetRecyclerItems`, `RecyclerRestore`, `RecyclerPurge`) and `fb.GetAudioChunk`, so VU meters move.
- macOS: Segoe Fluent Icons and Segoe MDL2 Assets icons (JScript Panel 3's playback, rating, check box and menu buttons) draw as symbols instead of boxes.
Supported systems: Windows 32-bit, Windows 64-bit, Windows ARM, macOS.
Links
View version history
Home page
Documentation
Source code
More components
Browse all
Browse by author: santirod
Tags: GUI, JavaScript, Skin