Added window.open check host of url
popup blocking avoids popups with hostname not at the beginning of url
Forgot a system print was using for testing
Merge pull request #3 from BlueMonday/popupBlock

Popup block