open selected wordpress post with javascript

You could use the following:

<script>
function open_win( thePostURL )
{
window.open(thePostURL);
}
</script>
<a href="#" onclick="open_win( "https://wordpress.stackexchange.com/questions/116036/<?php the_permalink(); ?>" )">More...</a>

It seems like a bit more work than it’s worth though, the following would have the same result of the link opening in a new window:

<a href="https://wordpress.stackexchange.com/questions/116036/<?php the_permalink(); ?>" target="_blank">More...</a>