src/options.js
/**
 * Fills the textarea with data from synchronized storage.
 */
Fills the textarea with data from synchronized storage.
Fills the textarea with data from synchronized storage .
function textareaCreate () {
  chrome.storage.sync.get('domainfilter', function (arrayList) {
    const list = arrayList.domainfilter || []
    document.getElementById('domainFilter').value = list.join(', ')
    document.getElementById('domainFilter').value += ', '
  })
}
function textareaCreate ( ) { chrome . storage . sync . get ( 'domainfilter' , function ( arrayList ) { const list = arrayList . domainfilter || [ ] document . getElementById ( 'domainFilter' ) . value = list . join ( ', ' ) document . getElementById ( 'domainFilter' ) . value += ', ' } ) }
Fills the textarea with data from synchronized storage.
Fills the textarea with data from synchronized storage .