function saveOptions()

in options.js [1:12]


function saveOptions() {
  var canary = document.querySelector('.likeCheckbox').checked;
  chrome.storage.sync.set({
    canary: canary,
  }, function() {
    var status = document.querySelector('.statusMessage');
    status.textContent = 'All set. Options saved.';
    setTimeout(function() {
      status.textContent = '';
    }, 1500);
  });
}