Skip to content

Instantly share code, notes, and snippets.

@mattweg-zz
Created January 30, 2014 07:27
Show Gist options
  • Save mattweg-zz/8704103 to your computer and use it in GitHub Desktop.
Save mattweg-zz/8704103 to your computer and use it in GitHub Desktop.
//Paste this into the chrome console when you are in site catalyst
//You should get any easily copied list of report suites
var w = window.open('', 'wnd');var rsuites = "Matt's Report Suite Export\n\nNAME, VALUE\n"; var list = document.getElementById('rsid_select_list'); var items = list.getElementsByTagName('li'); for(x = 0;x < items.length; x++) { rsuites = rsuites + items[x].getElementsByTagName('a')[0].getAttribute('title') + ", " + items[x].getElementsByTagName('a')[0].getAttribute('data-value') + "\n"; } rsuites + "\n\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment