3 ms·
It shouldn't be possible to launch mailto links without an interactive prompt; if it is, please file a bug on the browser.
by JoshTriplett 13y ago
It shouldn't be possible to launch mailto links without an interactive prompt; if it is, please file a bug on the browser.
- aaronem 13y agoI've never seen a prompt to open a mailto: link. Where is it specified there should be one?
- mobweb 13y agoI think by "interactive prompt" he means "user interaction".
- aaronem 13y agoI suppose I can see an argument for popping something up before firing the schema handler when something sets location.href to a mailto: URL, but that seems like the sort of thing where you'd really want to wait for evidence that it's a problem for anyone before you implement it; it both annoys the user and complicates your code, neither of which is desirable in the absence of real provocation.
- etcet 13y agoSimple proof of concept: http://jsfiddle.net/rVxkv/ http://jsfiddle.net/rVxkv/ This opens 2 Thunderbird windows in Firefox 26 but only one in Chromium 31.0.1650.63. edit: I totally agree it shouldn't be possible :)