Skip to content

Instantly share code, notes, and snippets.

@wlib
Last active November 27, 2017 00:12
Show Gist options
  • Save wlib/cac33b3d418fe1d25e87336323af6fe7 to your computer and use it in GitHub Desktop.
Save wlib/cac33b3d418fe1d25e87336323af6fe7 to your computer and use it in GitHub Desktop.
<html>
<head>
<title>Close Me</title>
</head>
<body>
<script>
const symbols = location.search.slice(1).split(",");
symbols.forEach(symbol => 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`));
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment