mirror of
https://github.com/lyxxis/OperaGX-BackroundMusic
synced 2026-11-22 18:51:05 +00:00
- JavaScript 52.5%
- CSS 30.1%
- HTML 15.9%
- Batchfile 1.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| music | ||
| icon_512.png | ||
| index.html | ||
| LICENSE | ||
| license.txt | ||
| liscence.txt | ||
| Loading.gif | ||
| manifest.json | ||
| next.png | ||
| open-player.bat | ||
| play.png | ||
| prev.png | ||
| README.md | ||
| script.js | ||
| stop.png | ||
| style.css | ||
Opera GX Background Music Mod
A custom Opera GX mod that adds background music, plus a small local player UI for previewing tracks.
Features
- Opera GX mod package (
manifest.json) with background music payload - Local web player (
index.html) with play/pause, previous, and next controls - Track loading overlay and persistent playback state via
localStorage
Requirements
- Opera GX installed
- This project downloaded or cloned locally
How to Use in Opera GX
- Download this repository as ZIP and extract it, or clone it:
git clone https://github.com/lyxxis/OperaGX-BackroundMusic.git - Open Opera GX.
- Go to Mods and choose to load/import a local mod (Developer/Local mode).
- Select the project folder that contains
manifest.json. - Enable the mod.
Note: The mod currently points to:
music/TrackTwo.mp3
This is configured in manifest.json under:
mod.payload.background_music
Use the Local Player (Optional)
You can preview music locally in your browser.
Option 1: Run batch file (Windows)
- Double-click
open-player.bat
Option 2: Open directly
- Open
index.htmlin your browser
Customize Tracks
Update Opera GX mod track
Edit manifest.json:
"background_music": [
"music/TrackTwo.mp3"
]
Replace the file path with your own track in the music/ folder.
Update local player playlist
Edit script.js and change the playlist array, for example:
const playlist = [
{ title: "Track 1", src: "music/TrackOne.mp3" },
{ title: "Track 2", src: "music/TrackTwo.mp3" }
];
Project Structure
manifest.json: Opera GX mod manifestmusic/: audio files used by the mod/playerindex.html,style.css,script.js: local preview playeropen-player.bat: convenience launcher for the local playerLICENSE: MIT license
License
MIT License. Attribution is preserved through the included copyright and license notice.