public/js/embed.js
function getLinks() {
    var links = [], alllinks, i = 0, length;
    alllinks = document.getElementsByTagName('a');
    length = alllinks.length;
    for (; i < length; i++) {
      if ((' ' + alllinks[i].className).indexOf(' jsbin-') !== -1) {
        links.push(alllinks[i]);
      }
    }

    return links;
  }
function getLinks() {
    var links = [], alllinks, i = 0, length;
    alllinks = document.getElementsByTagName('a');
    length = alllinks.length;
    for (; i < length; i++) {
      if ((' ' + alllinks[i].className).indexOf(' jsbin-') !== -1) {
        links.push(alllinks[i]);
      }
    }

    return links;
  }
function getLinks ( ) { var links = [ ] , alllinks , i = 0 , length ; alllinks = document . getElementsByTagName ( 'a' ) ; length = alllinks . length ; for ( ; i < length ; i ++ ) { if ( ( ' ' + alllinks [ i ] . className ) . indexOf ( ' jsbin-' ) !== - 1 ) { links . push ( alllinks [ i ] ) ; } } return links ; }
1. find all links with class=jsbin
1 . find all links with class = jsbin