chrome/options.js
// Restores select box and checkbox state using the preferences stored in chrome.storage.
Restores select box and checkbox state using the preferences stored in chrome.storage.
Restores select box and checkbox state using the preferences stored in chrome . storage .
function restore_options() {
  chrome.storage.sync.get({
    delayTime: 5,
    pipNotMultiple: false
  }, items => {
    document.getElementById('delayTime').value = items.delayTime;
    document.getElementById('pipNotMultiple').checked = items.pipNotMultiple;
  });
}
function restore_options ( ) { chrome . storage . sync . get ( { delayTime : 5 , pipNotMultiple : false } , items => { document . getElementById ( 'delayTime' ) . value = items . delayTime ; document . getElementById ( 'pipNotMultiple' ) . checked = items . pipNotMultiple ; } ) ; }
Restores select box and checkbox state using the preferences stored in chrome.storage.
Restores select box and checkbox state using the preferences stored in chrome . storage .
// Use default value.