ctrl/cmd-N doesn't start new chat
Not sure where you would want this logic (it's not quite window behavior…)
document.querySelector('a[href="/new"]').dispatchEvent(
new MouseEvent('click', {view:window, bubbles:true, cancelable:true})
);
I'm not sure to see what its supposed to do... On my computer the ctrl+N just open a new FF window on messenger.com and doesnt do anything on the app. The code is already pretty messy (I looked at the new version, its much better), so I'm not sure where to put that...
It's a feature request. In this app we should make it open a new conversation. On Jan 4, 2016 12:14 PM, "Émile Fugulin" [email protected] wrote:
I'm not sure to see what its supposed to do... On my computer the ctrl+N just open a new FF window on messenger.com and doesnt do anything on the app. The code is already pretty messy (I looked at the new version, its much better), so I'm not sure where to put that...
— Reply to this email directly or view it on GitHub https://github.com/Sytten/Facebook-Messenger-Desktop/issues/10#issuecomment-168791326 .
Yes thats a good idea, we should do a new file for shortcut handling. Anyway I need to intercept the ESC key, so that would be an idea.