Jeremy,

That did it. Thanks a lot for the help, it looks like I'm going to have to 
dive into Macros.

On Friday, December 22, 2017 at 7:25:28 AM UTC-5, Jeremy Ruston wrote:
>
> Hi Patrick
>
> I've been learning, using, and enjoying TiddlyWiki for 2 years now and 
> have lurked this group quite a bit. I'm running in to an odd issue with 
> mailto links in Chrome.
>
> When I click my mailto link, [[[email protected] <javascript:> | 
> [email protected] <javascript:>]] an email window in Outlook opens as 
> expected, however a new blank tab opens as well. This issue is only present 
> in Google Chrome, which is my browser of choice. I'm not using any tab 
> related extensions or anything of the sort.
>
> Does anyone have any ideas as to what may be causing this?
>
>
> The problem is likely to be that by default TiddlyWiki marks up external 
> links with target=“_blank”, to cause them to open in a new window. It 
> appears that other browsers are smart enough to realise that a mailto: link 
> isn’t going to open in a browser, and so avoid opening the new window.
>
> One reason that Chrome might behave differently is its support for 
> assigning mailto: links to web applications; in that situation, perhaps 
> they need to support opening a mailto: link in a new tab.
>
> In the meantime, I fear that the easiest fix would be to use a custom 
> macro to render your mailto: links. For example:
>
> \define email-link(address)
> <a href="mailto:$address$";>$address$</a>
> \end
>
> <<email-link "[email protected] <javascript:>">>
>
> In my tests, I’m still seeing an unnecessary seeming confirmation dialogue 
> from Chrome.
>
> Best wishes
>
> Jeremy.
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e26bfcde-51d2-4d31-a784-5df5cdb3cfd9%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/e26bfcde-51d2-4d31-a784-5df5cdb3cfd9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b299f4e3-e383-493c-bdd6-9fd68a68ace4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to