Skip to content

Instantly share code, notes, and snippets.

@lmmx
Last active August 29, 2015 13:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
function bbDL() {
var links = document.querySelectorAll('.attachments li a') || document.getElementById('bbFrameset').childNodes[3].contentWindow.document.querySelectorAll('.attachments li a');
for (i=0;i<links.length;i++) {
open(links[i]);
}
}
bbDL();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment