Skip to content

Commit

Permalink
update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
TarnaWijaya committed Dec 9, 2024
1 parent a972377 commit 49b57fa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,27 @@ <h3>Command Brevent</h3>
<p id="text">sh /sdcard/Tarz/Settings/uninstall.sh</p>
<button onclick="copyText()">Salin Teks Script</button>

<script>
function copyText() {
// Mendapatkan elemen teks
const textElement = document.getElementById('text');
// Membuat textarea sementara
const tempInput = document.createElement('textarea');
tempInput.value = textElement.textContent;
document.body.appendChild(tempInput);
// Menyalin teks ke clipboard
tempInput.select();
document.execCommand('copy');
// Menghapus textarea sementara
document.body.removeChild(tempInput);
alert('Teks berhasil disalin!');
}
</script>
<p><br></p>
Cek Info Hp
<p id="text">sh /sdcard/Tarz Settings Android/info.sh</p>
<button onclick="copyText()">Salin Teks Script</button>

<script>
function copyText() {
// Mendapatkan elemen teks
Expand Down

0 comments on commit 49b57fa

Please sign in to comment.