I am using jsTree.com with hotkeys plugin. I want to use "F3" key to open the node's url in new window.

Below code works if pop-up blocker is not on in ff & IE. And every time in chrome. When I turn the popup blocker off it works in ff too.

I wonder how I can modify my javascript function to it works always. So it works like clicking "the example.com website (opens in a new window)." the link in JavaScript target demo

I believe it can be done but js knowledge and experience is limited.

Thanks for any suggestions.