Last active
November 27, 2017 00:06
-
-
Save wlib/61ad54cd1b4cee050b218229ba93a2d2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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> | |
<head> | |
<title>Close Me</title> | |
</head> | |
<body> | |
<script> | |
const symbols = location.search.slice(1).split(","); | |
symbols.forEach(symbol => { | |
const w = open(`https://s.tradingview.com/widgetembed/?symbol=${symbol}&interval=60&hidesidetoolbar=0&symboledit=1&saveimage=1&toolbarbg=f1f3f6&theme=Light&style=1&timezone=America%2FNew_York&locale=en`); | |
w.document.title = symbol; | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment