I guess you can fake an SSB in firefox by some hacking. I don't know how much work you want to put into this but here a sketch of an idea.
-
Create a new Profile in firefox: open
about:profilesclick in create new profile and give it the name of the SSB application you want to create. -
Open firefox in the new profile by running the command
firefox --no-remote -P "ProfileName" -
Check if you are in the correct profile by opening
about:support, in the information table look for Profile Directory. The path must end in "ProfileName". Click in Open Directory. -
Let's hide your GUI: create a new folder in your Profile Directory named
chrome, inside the folder create a new file nameduserChrome.css. -
Paste the following inside the file:
TabsToolbar {
visibility: collapse;
}
:root:not(\[customizing\]) #navigator-toolbox:not(:hover):not(:focus-within) {
max-height: 1px;
min-height: calc(0px);
overflow: hidden;
}
#navigator-toolbox::after {
display: none !important;
}
#main-window\[sizemode="maximized"\] #content-deck {
padding-top: 8px;
}
-
Back to firefox, make sure you are in the correct profile, go to
about:configand settoolkit.legacyUserProfileCustomizations.stylesheetstotrue -
Finally create a shortcut that runs the command
firefox --name=AppName --no-remote -P "ProfileName"http://appurl.com -
Add the shortcut to the menu. In linux probably means writing a
.desktopfile in~/.local/share/applications
Firefox allows extensive user interface customization through CSS by utilizing a special file within the user's profile directory. This file is called userChrome.css.
Steps to enable and use userChrome.css:
-
Enable userChrome customization:
- Open Firefox and type
about:configin the address bar. - Accept the warning about editing advanced settings.
- Search for
toolkit.legacy.userChrome.css.enabled. - Toggle its value from
falsetotrue.
- Open Firefox and type
-
Locate your Firefox profile folder:
- Type
about:profilesin the address bar. - Find the profile currently in use (usually named
default-releaseor similar). - Click the "Open Folder" button next to "Root Directory" or "Profile Folder" (depending on your OS). This will open the profile directory in your file explorer.
- Type
-
Create the
chromefolder anduserChrome.cssfile:- Inside the opened profile folder, create a new folder named
chrome(all lowercase). - Inside the
chromefolder, create a new plain text file nameduserChrome.css(case-sensitive). Ensure it is saved as a plain text file without any rich text formatting or hidden extensions like.txt.
- Inside the opened profile folder, create a new folder named
-
Add CSS rules:
- Open
userChrome.cssin a plain text editor. - Add your desired CSS rules to customize the Firefox user interface (e.g., change tab appearance, hide elements, adjust spacing).
- Save the
userChrome.cssfile.
- Open
-
Restart Firefox:
- Close and restart Firefox for the CSS changes to take effect.
Note: The userChrome.css file only affects the Firefox browser interface itself, not the content of websites. For website-specific CSS customizations, userContent.css can be used in a similar manner within the chrome folder.