Last active
April 26, 2018 15:13
-
-
Save c0bra/6564cf8a6a1ac1a39b5bfef1ceb8c21c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<button id="btn">Test</button> | |
<script> | |
var btn = document.getElementById('btn'); | |
btn.addEventListener('click', function() { | |
// "width=800,height=600,toolbar=1,resizable=1,left=-220,top=-4" | |
window.open('https://google.com', 'TableauAuth', "width=800,height=600,toolbar=1,resizable=1,left=-220,top=-4"); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment