Skip to content

Instantly share code, notes, and snippets.

@jlewin
Created September 29, 2013 01:06
Show Gist options
  • Select an option

  • Save jlewin/6748261 to your computer and use it in GitHub Desktop.

Select an option

Save jlewin/6748261 to your computer and use it in GitHub Desktop.
Popup madness: Iterate an array of urls and open a window for each. Useful for opening a bunch of link references without having to open a tab for each and copy, paste, execute.
'urlA;urlB;urlC'.split(';').forEach(function(url){ window.open(url) })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment