• Resolved Treebeard

    (@malawimama)


    When we click on the Email icon we are getting the Safari warning messgae, but with some sharing plugins we don’t get that, so is this something you’re working on with the next update?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Treebeard

    (@malawimama)

    Still hoping for an answer on this one. This issue isn’t happening when we activate Sassy Share, but I like this plugin better so will there be a fix soon?

    Plugin Author micropat

    (@micropat)

    Safari’s confirmation prompt is a new feature of Safari:

    Navigations to tel: and mailto: links now require a user gesture; navigations without a user gesture will show a confirmation prompt

    The confirmation prompt won’t display if a mailto: link opens in the same tab, but the major tradeoff is that web-based emailers (like Gmail) navigate the user away from the shared page. AddToAny email sharing opens in a new tab on desktop so the page remains open as expected.

    Thread Starter Treebeard

    (@malawimama)

    @micropat

    Thanks for getting back to me. That is still strange to me, seeing as how only some plugins have this problem, and others don’t. Right now, with Sassy Share, nothing like this is happening in Safari. I double checked with my client who uses gmail, and she says that she clicks the link and it opens gmail in a new window and then she can go back to the blog post, never having seen any warnings. I don’t see the errors on my end anymore either, since we switched to Sassy, but it’s not my fave sharing plugin, so was trying to go back to AddToAny.

    I know Safari released a security update, but I still don’t see issues with all the sharing plugins, only yours and a few others I’ve tested.

    Plugin Author micropat

    (@micropat)

    There’s nothing unexpected here — desktop Safari’s new confirmation prompt appears when a mailto: link opens from a new tab. AddToAny’s new tab prevents the current page’s tab from getting replaced by a web-based emailer.

    Without AddToAny’s new tab, major browsers including Chrome and Firefox will replace the current page to open your default web mailer (Gmail, Yahoo, Outlook.com, etc.).

    Alternatively, you’re welcome to add your own custom email service to the plugin if you don’t care about the current page’s tab getting replaced by web-based mail handlers. For example:

    function addtoany_add_services( $services ) {
        $services['my_mailto'] = array(
            'name'        => 'Email link',
            'icon_url'    => 'https://static.addtoany.com/buttons/email.svg',
            'icon_width'  => 32,
            'icon_height' => 32,
            'href'        => 'mailto:?subject=A2A_LINKNAME&body=A2A_LINKURL',
            'target'      => '',
        );
        return $services;
    }
    add_filter( 'A2A_SHARE_SAVE_services', 'addtoany_add_services', 10, 1 );

    See “How can I add a custom standalone share button?” in the plugin FAQs.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Safari warning message’ is closed to new replies.