text: class Methods {
      static load(key) {
          var data = localStorage[key];
          if (typeof data === "undefined") {
              return null;
          }
          return data;
      }
      static save(key, data) {
          localStorage[key] = data;
          return true;
      }
      static sendRuntime(data) {
  //        console.log("SendRuntime:",data);
          chrome.runtime.sendMessage(data);
  //        return true;
      }
      static getLocalizedText(key) {
          return chrome.i18n.getMessage(key)
      }
      static setIcon(state) {
          chrome.browserAction.setIcon({path: "/style/" + state + ".png"})
      }
      static version() {
          return chrome.runtime.getManifest();
      }
      static isMono() {
          return Methods.load("mono");
      }
      static isPhased() {
          return Methods.load("phase");
      }
      static isAdvanced() {
          return Methods.load("advanced")
      }
      static isConvolverPreset() {
          return Methods.load("convolverPreset")
      }
      static isChorusPreset() {
          return Methods.load("chorusPreset")
      }
      static isLimiterPreset() {
          return Methods.load("limiterPreset");
      }
      static isEqPreset() {
          return Methods.load("eqPreset");
      }
      static isPitchPreset() {
          return Methods.load("pitchPreset");
      }
      static isAutoLoadPreset() {
          return Methods.load("autoLoadPreset");
      }
      static isConvolverBypass() {
          return Methods.load("convolverBypass");
      }
      static isChorusBypass() {
          return Methods.load("chorusBypass");
      }
      static isPitchBypass() {
          return Methods.load("pitchBypass");
      }
      static isVolumePreset() {
          return Methods.load("volumePreset");
      }
  }
  