text: //SET
  
  
  //Default My Command
  var defaultmycommand = '{"audioponypk": false, "showfpsponypk": false, "progressbarponypk": true, "dontspeakponypk": false, "interactionperm": true, "fixedurlpk": false, "baseurlponypk": "", "speedponypk": 3, "speakponypk": 0.15, "volumeponypk": 1, "fpsponypk": 25, "fadeponypk": 500, "littleponypk": "{}", "littlerandomponypk": 0, "loadingprogressponies": "{}"}';
  
  
  
  //Ação Storage
  
  function playstoragego() {
  
      chrome.storage.sync.get(function(settings) {
  
          if (settings.browserponies1t == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies1t = storageclick
              chrome.storage.sync.set({
                  browserponies1t: browserponies1t,
                  browserponies1tmycommand: defaultmycommand,
                  browserponies1turleditorsktrue: "None!!",
                  browserponies1turleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies2t == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies2t = storageclick
              chrome.storage.sync.set({
                  browserponies2t: browserponies2t,
                  browserponies2tmycommand: defaultmycommand,
                  browserponies2turleditorsktrue: "None!!",
                  browserponies2turleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies3t == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies3t = storageclick
              chrome.storage.sync.set({
                  browserponies3t: browserponies3t,
                  browserponies3tmycommand: defaultmycommand,
                  browserponies3turleditorsktrue: "None!!",
                  browserponies3turleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies4 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies4 = storageclick
              chrome.storage.sync.set({
                  browserponies4: browserponies4,
                  browserponies4mycommand: defaultmycommand,
                  browserponies4urleditorsktrue: "None!!",
                  browserponies4urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies5 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies5 = storageclick
              chrome.storage.sync.set({
                  browserponies5: browserponies5,
                  browserponies5mycommand: defaultmycommand,
                  browserponies5urleditorsktrue: "None!!",
                  browserponies5urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies6 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies6 = storageclick
              chrome.storage.sync.set({
                  browserponies6: browserponies6,
                  browserponies6mycommand: defaultmycommand,
                  browserponies6urleditorsktrue: "None!!",
                  browserponies6urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies7 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies7 = storageclick
              chrome.storage.sync.set({
                  browserponies7: browserponies7,
                  browserponies7mycommand: defaultmycommand,
                  browserponies7urleditorsktrue: "None!!",
                  browserponies7urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies8 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies8 = storageclick
              chrome.storage.sync.set({
                  browserponies8: browserponies8,
                  browserponies8mycommand: defaultmycommand,
                  browserponies8urleditorsktrue: "None!!",
                  browserponies8urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies9 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies9 = storageclick
              chrome.storage.sync.set({
                  browserponies9: browserponies9,
                  browserponies9mycommand: defaultmycommand,
                  browserponies9urleditorsktrue: "None!!",
                  browserponies9urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies10 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies10 = storageclick
              chrome.storage.sync.set({
                  browserponies10: browserponies10,
                  browserponies10mycommand: defaultmycommand,
                  browserponies10urleditorsktrue: "None!!",
                  browserponies10urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies11 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies11 = storageclick
              chrome.storage.sync.set({
                  browserponies11: browserponies11,
                  browserponies11mycommand: defaultmycommand,
                  browserponies11urleditorsktrue: "None!!",
                  browserponies11urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies12 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies12 = storageclick
              chrome.storage.sync.set({
                  browserponies12: browserponies12,
                  browserponies12mycommand: defaultmycommand,
                  browserponies12urleditorsktrue: "None!!",
                  browserponies12urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies13 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies13 = storageclick
              chrome.storage.sync.set({
                  browserponies13: browserponies13,
                  browserponies13mycommand: defaultmycommand,
                  browserponies13urleditorsktrue: "None!!",
                  browserponies13urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies14 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies14 = storageclick
              chrome.storage.sync.set({
                  browserponies14: browserponies14,
                  browserponies14mycommand: defaultmycommand,
                  browserponies14urleditorsktrue: "None!!",
                  browserponies14urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies15 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies15 = storageclick
              chrome.storage.sync.set({
                  browserponies15: browserponies15,
                  browserponies15mycommand: defaultmycommand,
                  browserponies15urleditorsktrue: "None!!",
                  browserponies15urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies16 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies16 = storageclick
              chrome.storage.sync.set({
                  browserponies16: browserponies16,
                  browserponies16mycommand: defaultmycommand,
                  browserponies16urleditorsktrue: "None!!",
                  browserponies16urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies17 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies17 = storageclick
              chrome.storage.sync.set({
                  browserponies17: browserponies17,
                  browserponies17mycommand: defaultmycommand,
                  browserponies17urleditorsktrue: "None!!",
                  browserponies17urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies18 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies18 = storageclick
              chrome.storage.sync.set({
                  browserponies18: browserponies18,
                  browserponies18mycommand: defaultmycommand,
                  browserponies18urleditorsktrue: "None!!",
                  browserponies18urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies19 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies19 = storageclick
              chrome.storage.sync.set({
                  browserponies19: browserponies19,
                  browserponies19mycommand: defaultmycommand,
                  browserponies19urleditorsktrue: "None!!",
                  browserponies19urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies20 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies20 = storageclick
              chrome.storage.sync.set({
                  browserponies20: browserponies20,
                  browserponies20mycommand: defaultmycommand,
                  browserponies20urleditorsktrue: "None!!",
                  browserponies20urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies21 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies21 = storageclick
              chrome.storage.sync.set({
                  browserponies21: browserponies21,
                  browserponies21mycommand: defaultmycommand,
                  browserponies21urleditorsktrue: "None!!",
                  browserponies21urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies22 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies22 = storageclick
              chrome.storage.sync.set({
                  browserponies22: browserponies22,
                  browserponies22mycommand: defaultmycommand,
                  browserponies22urleditorsktrue: "None!!",
                  browserponies22urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies23 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies23 = storageclick
              chrome.storage.sync.set({
                  browserponies23: browserponies23,
                  browserponies23mycommand: defaultmycommand,
                  browserponies23urleditorsktrue: "None!!",
                  browserponies23urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies24 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies24 = storageclick
              chrome.storage.sync.set({
                  browserponies24: browserponies24,
                  browserponies24mycommand: defaultmycommand,
                  browserponies24urleditorsktrue: "None!!",
                  browserponies24urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies25 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies25 = storageclick
              chrome.storage.sync.set({
                  browserponies25: browserponies25,
                  browserponies25mycommand: defaultmycommand,
                  browserponies25urleditorsktrue: "None!!",
                  browserponies25urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies26 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies26 = storageclick
              chrome.storage.sync.set({
                  browserponies26: browserponies26,
                  browserponies26mycommand: defaultmycommand,
                  browserponies26urleditorsktrue: "None!!",
                  browserponies26urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies27 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies27 = storageclick
              chrome.storage.sync.set({
                  browserponies27: browserponies27,
                  browserponies27mycommand: defaultmycommand,
                  browserponies27urleditorsktrue: "None!!",
                  browserponies27urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies28 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies28 = storageclick
              chrome.storage.sync.set({
                  browserponies28: browserponies28,
                  browserponies28mycommand: defaultmycommand,
                  browserponies28urleditorsktrue: "None!!",
                  browserponies28urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies29 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies29 = storageclick
              chrome.storage.sync.set({
                  browserponies29: browserponies29,
                  browserponies29mycommand: defaultmycommand,
                  browserponies29urleditorsktrue: "None!!",
                  browserponies29urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.browserponies30 == "nullts") {
              var storageclick = prompt(addnewsystemnow);
              if (storageclick == null) { return; }
              var browserponies30 = storageclick
              chrome.storage.sync.set({
                  browserponies30: browserponies30,
                  browserponies30mycommand: defaultmycommand,
                  browserponies30urleditorsktrue: "None!!",
                  browserponies30urleditorskfalse: "None!!"
              });
              restore_options();
          } else if (settings.exdlenabled == null) {
              var createdados = confirm(warnstartdatenow)
  
              if (createdados == true) {
  
                  startmyresetopk(true, function() {
                      alert(warnponiescompleteld)
                      location.reload();
                  });
  
              }
          } else {
  
              alert("Error!")
  
          }
  
      })
  
  }
  
  
  $("#addconfig").click(function() {
  
      playstoragego();
  
  })
  
  
  
  
  
  
  
  $("#removeglobalponies30").click(function() {
  
      var browserponies30 = "None"
      var browserponies30mycommand = defaultmycommand
      $("#browserponies30globalek").prop("checked", false);
  
      chrome.storage.sync.set({
              browserponies30: browserponies30,
              browserponies30mycommand: browserponies30mycommand,
              browserponies30urleditorsktrue: "",
              browserponies30urleditorskfalse: "",
              browserponies30globalek: false
          },
  
          function() {
  
              location.reload();
  
          });
  
  })