4 ms·
Show HN: URLColors – Chrome Extension to Visually Distinguish Envs Based on URL
- neduma 9y agoAwesome. I wonder if we can do the same thing in terminals(iterm/terminal) when we connected to prod hosts via SSH.
- fej-snikduj 9y agoThat would be great. Good idea.
- avitzurel 9y agoYou can http://bryangilbert.com/post/etc/term/dynamic-ssh-terminal-background-colors/ http://bryangilbert.com/post/etc/term/dynamic-ssh-terminal-b...
- ssawa 9y agoThat's one of the reasons I made the switch to iterm: https://www.iterm2.com/documentation-automatic-profile-switching.html https://www.iterm2.com/documentation-automatic-profile-switc... The actual automatic profile switching can be a bit of a pain because you need to install the integration on each machine you ssh into. But iterm also gives you access to a bunch of proprietary escape codes, so I was able to just wrap ssh in an alias that would automatically change my terminal colors and display the ssh command as a badge in the corner to keep my dumb ass from accidentally screwing up a server.
- vxNsr 9y agoUgh I need this in Firefox! For "Reasons" I don't use chrome for my different environments but this is super useful!
- fej-snikduj 9y agohttps://developer.mozilla.org/en-US/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Po... I don't use Firefox, but looks like it may be a relatively easy process to port it over?
- rubberyduck 9y agoYou could try to use a Firefox addon that enables installation of Chrome extensions in Firefox. https://addons.mozilla.org/en-US/firefox/addon/chrome-store-foxified/ https://addons.mozilla.org/en-US/firefox/addon/chrome-store-...
- rubberyduck 9y agoThis extension is also essentially the same as the example Firefox WebExtension [1], so this should be relatively easy to implement yourself. [1] https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Your_first_WebExtension https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Yo...