sshcode icon indicating copy to clipboard operation
sshcode copied to clipboard

[IDEA] Possibly enable firefox support.

Open Merith-TK opened this issue 4 years ago • 4 comments

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

Merith-TK avatar Apr 20 '20 02:04 Merith-TK

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 😆

kylecarbs avatar Apr 20 '20 13:04 kylecarbs

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

Merith-TK avatar Apr 20 '20 17:04 Merith-TK

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

cshei avatar Jun 02 '20 20:06 cshei

Yeah i found that

Merith-TK avatar Jun 02 '20 23:06 Merith-TK