Modified script to include https again

This commit is contained in:
Thomas Smith 2023-05-13 15:34:58 +02:00
parent e7aaf58106
commit bd38fe5a19

View file

@ -7,6 +7,9 @@
$(".copy-button").on("click", function() { $(".copy-button").on("click", function() {
var copyText = $(this).siblings(".copy-text").text(); var copyText = $(this).siblings(".copy-text").text();
// Update the command to copy 'sh <(curl https://tea.xyz)'
copyText = copyText.replace("sh <(curl tea.xyz)", "sh <(curl https://tea.xyz)");
var tempInput = document.createElement("input"); var tempInput = document.createElement("input");
tempInput.style = "position: absolute; left: -1000px; top: -1000px"; tempInput.style = "position: absolute; left: -1000px; top: -1000px";
tempInput.value = copyText; tempInput.value = copyText;