Open Merith-TK opened 4 years ago
Very neat.
We could add this to our docs, but I'm not sure what kind of support we could integrate into code-server. What are ya thinkin?
Edit: Oops thought this was code-server for a sec ☕.
Yeah we should definitely add this 😆
lol yeah, the problem is that this has to be enabled in the firefox profile prefs.js
working on a tool that does this automatically so that we can call a function and have it do it automatically
EDIT: Otherwise, if we dont enable it. it just opens a firefox window without any thing, as if you run firefox on its own
Another issue (specifically for sshcode) is that Firefox disallows http://localhost/ for SSB and requires HTTPS.
Yeah i found that
so in firefox, you can go to
about:config
and change the value ofbrowser.ssb.enabled
totrue
and then when you run firefox with the
-ssb
flag, it opens in an SiteSpecificBrowser. or an "app window" Image is an example of it connecting to my code-server instance. I ranD:\PortableApps\Firefox Developer Edition\firefox.exe --ssb https://code.example.com
It is a viable way, all that is needed is making it automatically set this setting to true