coder / sshcode

Run VS Code on any server over SSH.
MIT License
5.74k stars 216 forks source link

[IDEA] Possibly enable firefox support. #173

Open Merith-TK opened 4 years ago

Merith-TK commented 4 years ago

so in firefox, you can go to about:config and change the value of browser.ssb.enabled to true

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 ran D:\PortableApps\Firefox Developer Edition\firefox.exe --ssb https://code.example.com image

It is a viable way, all that is needed is making it automatically set this setting to true

kylecarbs commented 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 😆

Merith-TK commented 4 years ago

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

cshei commented 4 years ago

Another issue (specifically for sshcode) is that Firefox disallows http://localhost/ for SSB and requires HTTPS.

Merith-TK commented 4 years ago

Yeah i found that