User clicks link in email, it opens email client, how to close window/tab?

Posted by Blankman on Stack Overflow See other posts from Stack Overflow or by Blankman
Published on 2010-04-23T14:38:44Z Indexed on 2010/04/23 14:43 UTC
Read the original article Hit count: 163

Filed under:
|
|
|

A user clicks a link in their HTML email, it then goes to a page that simply opens up their email client.

window.location.href = 'mailto:...';

I don't want this window/tab to stay open, how can I close it?

window.close() doesn't work since it wasn't opened using window.open()

is it possible?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery