Javascript code to execute a file downloaded with the permission of the user by a window and not running it in the downloads bar.

Can anyone help me?