Slack: change browser to open links from desktop app [closed] - slack

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 months ago.
Improve this question
I use two browsers on my laptop - Brave for my personal stuff (Facebook, personal email, interesting things I want to read) and Firefox for my work browsing (work email, internal webpages, work communication). Normally I like having my default browser for the computer set to Brave (personal), since most of the time I use the laptop outside of work.
I now have the Slack desktop app to keep in better communication with folks at work. But when I click on links from there, it goes to Brave where I am not logged-in to anything work related.
Is there a way to change the browser that Slack opens without changin my system wide default browser?
I'm on a Mac, Mojave, if that helps.

I tried many options; nothing worked for me.
Firfox is my default browser but slack opened links Opera. So i uninstalled Opera. Then slack opened links in Chrome.
Here is what i did that worked for me.
I use Kubuntu and firefox is already the default browser (verified from firefox's settings)
I want slack to open links in firefox
Open System Settings -> Applications -> Default Applications
Select Firefox as the default for Web Browser.
Now slack opens links in firefox.

You could use Browserosaurus or Finicky or even a combination of them.
When Browserosaurus is set up as default browser, and a link is clicked, it shows a list of installed/configured browsers in which to open that link that can be selected with a one-character shortcut.
Finicky can also be setup as a default browser and it allows me to setup rules that can launch a suitable browser based upon those rules. For example: open slack.com links in Firefox, Box.com in Safari and so on.
References:
Browserosaurus - https://github.com/will-stone/browserosaurus
Finicky - https://github.com/johnste/finicky

Maybe this Firefox Workaround helps you:
Open web link in slack
In the Firefox browser instance opened by Slack write "about:profiles" in adress field
Change the profile used as default to your regular profile
found on https://askubuntu.com/questions/1103461/slack-shows-opened-links-to-browser-as-another-slack-instance-in-task-bar

I'm looking to do the same thing, for the same reason.
Even though you can set the default browser system wide, there doesn't appear to be a way to set the default browser per app (e.g. for Slack). There also isn't a way to set a preference in Slack for which browser to launch.
The only option I've found so far is Choosy (https://www.choosyosx.com) but it costs money, though you can trial it for 40 days or so.
I'm trying it out now and works nicely so far.

You can't achieve this straight forward on mac OS, but on Linux you can: Default Browser for certain application | https://askubuntu.com/a/1188672
Considering moving to the Linux world may be one option.
EDIT: Desktop entries are not part of macOS, but maybe one can mimic it by using AppleScript and booting applications from there, or writing a shellscript and booting application from the CLI.

Default Browser for certain application
The above answer by #maxim deals with how to set default browser per app, and fortunately, it uses slack as the example.

I gave up. There's no way in Slack to specify a browser. But with the Firefox Containers extension (I have both the Facebook and Multi-account Container extensions), I can better compartamentalize how I use my tabs. So, now everything defaults to Firefox.

One alternative solution is to open Slack on your favorite browser and open links directly there.

I'm using Windows 10 and frustrated by this problem daily. Annoying as it is, instead of clicking on the item to open it, if you right-click you can copy the link and paste it into your work-related browser. I don't know how / if this would work on a mac though.

In windows 10, i solved this by doing the following:
Start > Settings > Apps > Default Apps > Web Browser -> Your browser.

If you using Ubuntu (Linux) you can just go to about:preferences and click on "make default" button.

on mac: System Preferences -> General -> Default web browser

Related

WebAuthn on Chrome on Windows: Skip Windows dialog in favor of Chrome dialog

In developing our passkey integration I'm encountering unusual behavior in Chrome on Windows.
On my PC, when I register a new physical key I see this Windows dialog.
When I enable the virtual authenticator environment in the Chrome Dev Tools I get this Chrome dialog instead.
However, someone testing the application for me on another PC, without using the virtual authenticator environment, gets the Windows dialog first. If they click Cancel in the Windows dialog, then they get the Chrome dialog.
Is there anything I can do to nudge the browser towards delivering a more consistent experience? I'd rather always show the Chrome dialog if possible.
For reference, this is the virtual authenticator environment in the Chrome Dev Tools:
The problem is that lots of enterprise users have to use a physical security key one or more times a day. So there's a strong desire not to put extra clicks in their way and thus to jump directly to the Windows system UI. But the Windows UI doesn't support using phones as authenticators, so sometimes the browser UI is needed as hitting escape is quite non-discoverable.
Quite how that balance is struck has varied over time and might change again in the future. You can see the current logic here if you want to craft requests that trigger the browser UI. But the intent is that sites should do the obvious thing and the UI should be fairly reasonable.

Mailto links do not work on my mac [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 months ago.
Improve this question
After checking this question (Mailto links do nothing in Chrome but work in Firefox?), I have tried & determined:
I originally had this setting (Chrome Settings->Content Settings->Manage Handlers... (chrome://settings/handlers)) set for email and calendar links to use the associated Google Service I have an account for, assuming they will try to access the service through the Chrome browser.
I removed my existing handlers. Clicking the mailto link still does not work, and I am not able to add one manually through Chrome.
I do not see a relevant setting in Microsoft Outlook for Mac 15.33 to utilize.
I was not able to readily reset this behavior to investigate further, as going to Gmail does not reveal the handler icon again:
I experience this problem in both Chrome and Firefox.
I have tried links without a target attribute, and with one specified to "_top", _parent", and "_blank". (mailto link is blocked as insecure content in Chrome Gmail.)
Mac 10.12.3
Other Links:
mailto link is not working in any browser - (Doesn't Help - No Information)
Open Mac Mail and Preferences Dialog. Ensure you have Default email reader set to Mail.app (or whatever app you use for mail).
Followed these steps and worked very nicely:
Run the Mail application.
On the Mail menu, click Preferences.
Click the General tab.
For Default email reader, select Microsoft Outlook (or what you like).
Source:
https://support.microsoft.com/en-us/help/3027171/outlook-2016-for-mac-cannot-be-set-as-the-default-application-in-mac-o
In case you want to open mailto link with gmail app inside Google Chrome, but when you click on "mailto" link nothing happens, this is the solution worked for me.
Open "Mail" (the macOs app) , go to "Preferences" and be sure that "Default Email Reader" is "Google Chrome".
Then follow this video that provide clear instructions on how to enable the Google Chrome side.
It's first time that i saw a Google Chrome setting so hidden and difficult.
I found a relevant OS setting for my Mac, a method similar to Windows' in another Q&A.
In "System Preferences", on the 5th/last row, the first item called "Default Apps", under the "Internet" section, I had Email set to Chrome, that as described before was not working for me. I set it to Microsoft Outlook, and it performed better with links that did not have a target attribute set.
I also found a more granular list of protocols under the "URLs" section, and upon finding "mailto", saw that it was already set to Outlook, probably due to my recent "Email" setting.
Finally a result!!!!!
I'm on a mac and use thunderbird as my default email client. Suddenly I couldn't select email links in any browser to get it to open. Played with thunderbird, played with settings in chrome etc but as it was every browser I assumed it was a thunderbird issue.
The read about multiple mail clients and realised my wife opened 'mail' the other day. I never use it. SO I went into it and looked at settings.... mail ? preferences > general and there it was in plain english.... Default email reader had somehow changed to 'chrome'! A simple tweak back to thunderbird and all has been restored. How it changed I never know. Amazing that a mail client you don't use can effect how a browser and a mail client you do use works.

How can I lock down a Mac to exhibit one website?

I'm currently working on a website that will be in an exhibition soon. Users will have a keyboard and mouse in front of them, so I need to lock down the machine to be restricted to just one website. Guided Access mode on iOS is a perfect example. I wish Apple had an OS X version for this reason.
I'm currently trying parental controls but it seems to be quite buggy/not responding to my preferences. I'd really love to just have Chrome or Safari locked to fullscreen somehow so users can't exit the browser/redirect to another website.
Thank you in advance!
I'm thinking you could put Chrome in kiosk mode(can't change website) then change the shortcut keys for exiting out of fullscreen mode if you can on a Mac, and maybe having another desktop and monitor for emergencies. I would have made this a comment but I can't :P This isn't really an answer, just a suggestion. It would really be easier on another OS to do the stuff above.
Recently used 'Web Kiosk' software for exactly this purpose: https://www.macproline.com/webkiosk
It has a lot of options for locking down the machine, both in terms of web sites visited, and disabling key commands, preferences, switching apps, quitting apps, etc.
When searching for a solution for this, I was surprised how few options there were. That said, I would give this a look.

disabling (or fixing) ReadCube WebReader on Firefox

Mac OSX 10.11.2, Firefox 45.0.1
I'm trying to access articles through Wiley publishers website (onlinelibrary.wiley.com) and the PDF viewing function forces me to use ReadCube Webreader, which fails every time to load my article. I also cannot download the article. I have full permissions to view the article, but everything but the first page is blurred out. I just want to use Adobe PDF Reader like I used to, but I cannot figure out how to disable ReadCube. I have toggle this setting https://www.readcube.com/epdf_settings, cleared my cookies, turned off my addblocker, but nothing works! If I use Safari, which I really don't want to do, it works just brilliantly. Please help.
My add-on HTTPS Everywhere was interfering. It can be disabled by clicking the HTTPS Everywhere Icon in the browser window, and selecting the red-highlighted processes that are being encrypted by clicking on it. This is a bad answer to my question, because I'm not entirely sure how this has fixed the problem, but it has worked.

Wrapper around web-app under Windows

I have an application with web interface. Unfortunately, it has all disadvantages of being a web page:
It doesn't have a standalone window, so users cannot manage it via the taskbar.
Users see the address line with something like 'http://localhost:8080' that is not a good idea for home users.
If users click on a tray icon, there is no way to activate the tab in a browser, which contain the application interface.
So, it would be nice to have a wrapper application with a browser within.
In case of IE I know it's possible to create a window with Trident ActiveX component. But what if it's Windows XP with IE6 but installed latest Chrome? I'd like to prefer Chrome since it supports a lot more features which the user will never see.
So, is there a way to wrap a page into Chrome/Firefox and make it look like a standalone application, if one of them is presented in the user's system? (The application shouldn't install anything large, so Chromium build is not an option).
P.S. I'm not interested in supporting other platforms than Windows.
Regards,
Take a look at Chrome Apps.
I hope helps you.

Resources