Mailto links do not work on my mac [closed] - macos

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.

Related

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

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

How do I associate mailto links with a PWA app on Windows 10?

I'm using windows 10.
So I have installed outlook.office365.com as a PWA through Edge Beta (Chromium based Edge).
Now I would like to associate it with mailto links.
How do I do that?
I haven't found any information on how to use PWAs as a standard app for email on windows 10 so any pointers would be appreciated.
I think we can't associate outlook PWA with mailto links. mailto will open the system's default email client. What we select in the default app setting will decide which client the mailto will launch.
After installing the outlook PWA, it doesn't show in the optional app list. You could try to search if it exists in your list:
Besides, there's not a setting I can find in outlook PWA which can set this app as the default email app.
Answering the OWA-specific question first, but then the general answer for app developers next.
For "improving" the OWA PWA, I found this answer, but it didn't work because my PWA is running at a weird URL like https://pod12345.outlook.com and I was getting error Can only register custom handler in the document's origin.
This worked well enough, running in the devtools console after interacting with the page:
navigator.registerProtocolHandler("mailto", location.origin + "/owa/?&rru=compose&to=%s", "PWA Outlook");
and then manually approving the change.
Now (on macOS) clicking on a mailto: link opens a OWA tab in a normal Chrome tab. The browser bar has a "pop out" icon to "Open with" the PWA which seems to work fine. This is Good Enough for me, because it doesn't waken the sleeping giant of desktop Outlook and I can quickly close the tab because I often click mailto by mistake anyway.
Looking into why the link does't "deep link" into the PWA, it seems there's a property intent_filters that needs to be set on the PWA app manifest, but it's not: i.e. https://pod12345.outlook.com/mail/pwa.json I think that's enough improvement, but somebody else is welcome to hack that too.
You asked on stackoverflow.com and not superuser.com, so I feel obligated to give the answer I'd want the OWA dev team to implement. It looks like protocol handers are supported now: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/URLProtocolHandler/explainer.md
I haven't tried it, but those docs point to two options, adding protocol_handlers to your PWA app manifest:
"protocol_handlers": [
{
"protocol": "web+jngl",
"url": "/lookup?type=%s"
},
{
"protocol": "web+jnglstore",
"url": "/shop?for=%s"
}
],
or dynamically using registerProtocolHandler() with user interaction like above.
You can't use the installed PWA, but you can make it that the browser opens the site in a new tab, when you click a mailto link. I found it here: https://www.alphr.com/gmail-default-windows-10-email-client/
You go to the settings of the chromium browser and search for "Handlers" in the Privacy and Security settings and there you "allow sites to ask to become the default handlers for protocols".
Then you go to your PWA mail site and click on the address bar symbol on the right and allow this site to be the default for mails.

S/MIME fails utterly with OWA on IE11 [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 3 months ago.
Improve this question
I have OWA set up on IE11 with S/MIME. At some point recently things went sideways and now things are broken:
I cannot view any digitally signed email (including sent items signed by me). The emails open. The sender and recipients all show up. The body of the email is simply blank. This happens with the preview pane on the main window as well as when you open the email in a new window. No console errors show up when I try to view these emails (when I uninstall S/MIME I can see the emails in their entirety. Obviously I also get an error saying that the digital signature cannot be validated).
I cannot send ANY emails (signed or otherwise). It allows me to craft the email as normal but when I hit "send" nothing happens (without S/MIME I can send emails without issue). I receive the following javascript error in the console:
SCRIPT5007: Unable to get property 'replace' of undefined or null reference
fedtsmime.js (1,72117)
When crafting a new email, for some crazy reason my personalized signature (the auto-appended variety in the body of the email) doesn't show up (without S/MIME it shows up).
Information that may help inform the problem:
I have cleared ALL historical data, ALL form data, and reset my SSL state in IE11. Nothing changed.
I have traced the certificate chain all the way up and they are all properly located in the "local machine" trust store.
THIS USED TO WORK. A few weeks back I didn't have any issues. Now suddenly it all fails. That implies perhaps that something expired? But I checked the full chain and it seems OK.
I did not bother trying to work with encrypting emails since I cannot send any emails whatsoever.
My certificates are being accessed via Smart Card. I am using ActivClient.
I made sure TLS is enabled and SSL 2.0 is disabled.
We found a mitigation that lets you send & receive encrypted and unencrypted email, but will not let you open attachments:
Open the Tools menu in IE11 (the settings cog)
Under the Security tab, click Trusted Sites
Add https://*.mail.mil as a trusted site.
This should allow you to do most of what is needed. My understanding is that the null reference you're seeing is probably pointing towards an ActiveX control that is disabled in the stricter browsing modes.
We also had Enable enhanced protected mode turned on in the Advanced>Security section, but that did not seem to have an effect. We are also launching IE from Program Files (x86) instead, to try and launch in 32-bit mode, but we do not know if that has an effect.
EDIT: I found a source elsewhere that provided another helpful workaround. In addition to the above, you can view the list of already-attached attachments:
Add some attachments
Save the email as a draft. You may want to wait for the attachments to load (you'll have to guess at the upload time; but there may be some indication on the saving button)
Close the email edit window
Reopen the email edit window from the saved drafts page. You should see your attachments.
Disclaimer: I work for Microsoft.
I have the blank email body symptom also. I solved it by running OWA in a Chrome Incognito window. Problem gone.
I know this is a super old thread but I've recently come across this problem with IE11 and was racking my brain all weekend over it.
We already know the SMIME controls don't work on Microsoft Edge, but should work in Internet Explorer (just in case new readers are looking at this thread). The one setting that needs to be changed is the compatibility view settings.
Once you add mail.mil to the compatibility view list, your SMIME control will work again.
For those that don't know how to get there:
Click on the GEAR symbol in the upper right corner of your Internet Explorer window and then select COMPATIBILITY VIEW SETTINGS.
When the pop-up windows appears, add mail.mil to the list and then
test it again.
I guess it wouldn't hurt to also add https://*.mail.mil to the list of TRUSTED SITES as well.
Good luck to those who are searching the internet and finding this thread. ;)
For IE11:
Once you do all the steps shared here, and elsewhere, you should see the email in the preview pane with the To/From info and blank body (no s/mime errors).
Simply double-click the message to open it within it's own new window to load and view the content.

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.

OSX link preview on one-time link

As part of a password reset process, it's not uncommon to send out a one-time link that will expire once clicked, or similarly activation links. We're seeing an issue where a user accidentally Force Touches a preview and expires the reset link in OSX Mail, thereby being unable to click the link to complete the form in a browser. Is there any way to prevent this preview behaviour to stop this happening? I found this similar question asked on the Apple forums but with no answer.
https://discussions.apple.com/thread/7150121
Thanks
Jason
As far as I know, this is impossible. This feature is baked into the very core of OS X and unless there is an option in Settings.app there is now way to disable it.
Also there is no specific header or user agent set so you could determine on server-side.
Unfortunately the answer seems to be no.
EDIT
In the comments we came up with a JavaScript workaround. Since the force-click preview does not execute JavaScript, you could do the actual resetting process using AJAX or view a JavaScript redirection on a different page.

Resources