popup/popup.js
// Toggle the checked state of all visible links.
Toggle the checked state of all visible links.
Toggle the checked state of all visible links .
function toggleAll() {
  var checked = document.getElementById('toggleAllCheckBox').checked;
  for (var i = 0; i < visibleLinks.length; ++i) {
    document.getElementById('check' + i).checked = checked;
  }
}
function toggleAll ( ) { var checked = document . getElementById ( 'toggleAllCheckBox' ) . checked ; for ( var i = 0 ; i < visibleLinks . length ; ++ i ) { document . getElementById ( 'check' + i ) . checked = checked ; } }
Toggle the checked state of all visible links.
Toggle the checked state of all visible links .