
            alert("Inbound JSON for [" + tag + "] copied to clipboard!");
          }, function(err) {
            alert("Failed to copy: " + err);
          });
        } else {
          textArea.classList.remove("hidden");
          textArea.select();
          try {
            var successful = document.execCommand('copy');
            if (successful) {
              alert("Inbound JSON for [" + tag + "] copied to clipboard!");
            } else {
              alert("Copy command was uns