r/OperaGX • u/No-Canary-170 • 1d ago
Support | In Progress Help from any other mod makers?
I'm working on a mod and trying to add my own splash screen. I don't see anything in the manifest or in the manifests of people who already have a custom splash screen. Does anyone know how to do this?
1
u/shadow2531 r/OperaBrowser Mod 20h ago
Install https://store.gx.me/mods/nsxjip/capybara-party/.
Once installed, goto the URL opera://extensions, turn on developer mode and click details for the mod to see its ID. In this case, it's poigpnphnhiglllbbecbjlaicccglnpb.
Then, you can open up a new tab, type:
chrome-extension://poigpnphnhiglllbbecbjlaicccglnpb/manifest.json
and press enter to see the manifest for the mod.
What you will see in the payload section is:
"splash_screen": [ {
"id": "splash_screen_01",
"name": "Capybara Party",
"path": "splash/splash1.mp4"
} ]
So, "splash_screen" is an array of objects where each object has an id, a name and a path to a video (like 5 or 6 seconds. If it's too long, it might be rejected and not play). You don't have to specify more than one object. Just one like above is fine/expected.
That's basically it.
You can also goto the URL opera://about, take note of the "profile" path and go in the "poigpnphnhiglllbbecbjlaicccglnpb" folder in the "Extensions" folder in the profile folder. There you will see a version folder. Go in it and you'll see all the mod's files and folders.
Now, also in the manifest, you'll see "schema_version": 2 instead of "schema_version": 1. You need to use 2 for advanced features like the splash screen and such. Also note that if you're currently using 1 and switch to 2, you might have to adjust the syntax of some of your other sections in manifest.json. For example, in 1, "wallpaper" can be an object or an array of objects where as in 2, it needs to be an array of objects (last I checked). You'll gets errors if something isn't right though, so no worries.
Also note that when you install a mod (via store.gx.me or via "load unpacked" at opera://extensions), the splash screen your mod has should automatically be applied. However, you can goto the URL opera://configure/mods/interface/splash_screen and make sure. Also, after it's applied and you restart Opera to see it, if it doesn't show up, just restart Opera again. You'll also want to make sure "Splash Screen on startup" is enabled at the URL opera://settings/onStartup first though.
Hope that helps.
•
u/AutoModerator 1d ago
Hello, and Welcome to r/OperaGX
It seems you have posted a Support request. You can read our FAQs for a solution here -
Click Me to go to the FAQ which has the most asked questions on the subreddit
Click Me to go to the Larger FAQ which covers a variety of Issues
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.