docs: function getLocalStorage() {
    if (!(localStorage && localStorage.getItem)) {
      return null;
    }
  
    let state = localStorage.getItem(disableStr);
  
    if (state === 'false') {
      state = false;
    } else if (state === 'true') {
      state = true;
    }
  
    return state;
  }