Created
August 31, 2018 20:24
-
-
Save gabrielfin/b3b860b3adec1d2192751f16bca1bcc2 to your computer and use it in GitHub Desktop.
Chromeless Firefox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
#PersonalToolbar, | |
#BookmarksToolbar, | |
#MenuToolbar, | |
#nav-bar{ display: none !important; } | |
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox { | |
min-height: 0 !important; | |
} | |
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] { | |
visibility: collapse; | |
} | |
#tabbrowser-tabs .tabs-newtab-button { | |
visibility: collapse !important; | |
} | |
#tabbrowser-tabs tab { | |
min-height: var(--tab-min-height) | |
} |
Hi! I've found that for Firefox 68, I need to change the following line
#nav-bar{ display: none !important; }
into
#nav-bar{ visibility: collapse !important; }
in order to make Firefox load the page, instead of a pure empty page.
I am not sure what have been changed in the browser part, I guess it is a init sequence change for Firefox?
FireFox 69 needs to additional enable
about:config
toolkit.legacyUserProfileCustomizations.stylesheets -> true
And if nav-bar not visible the site is not visible either :/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Close firefox
Run
firefox -P
(If you're running windows, you have to put the full path to
firefox.exe
instead of justfirefox
)Create a new profile and name it "app"
Select the "Default" profile, check "Use the selected profile..." and click on "Start Firefox"
https://i.imgur.com/ckJ6o1T.png
Open
about:profiles
and under "Profile: app" > "Root Directory" click on "Open Directory"https://i.imgur.com/rRJ0xoQ.png
Create a folder called
chrome
and inside a file calleduserChrome.css
. Inside that file, paste the contents of this GistRun
firefox -P app --new-instance http://www.reddit.com
(or full path to
firefox.exe
)Result: https://i.imgur.com/AdpGTyQ.png
Create desktop/menu shortcuts to your favorite webapps
Profit!
Credits to https://askubuntu.com/a/487954/593872 and https://gist.github.com/BenoitAverty/af633ee20e27f48f9ba7178451432206