Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <script>
- function copyToClipboard() {
- var e = "n9c3LiEZPbwrG5f4VsYWBDMa02evmUK1";
- var tempItem = document.createElement('input');
- tempItem.setAttribute('type','text');
- tempItem.setAttribute('display','none');
- let content = e;
- if (e instanceof HTMLElement) {
- content = e.innerHTML;
- }
- tempItem.setAttribute('value',content);
- document.body.appendChild(tempItem);
- tempItem.select();
- document.execCommand('Copy');
- tempItem.parentElement.removeChild(tempItem);
- alert("Successfully copied the key to your clipboard!");
- }
- </script>
- <meta charset="UTF-8">
- <title>Fluxus | Key System</title>
- <link rel="stylesheet" href="./style.css">
- </head>
- <body>
- <div class="log-form">
- <h2>Fluxus</h2>
- <form>
- <input type="text" title="username" value="n9c3LiEZPbwrG5f4VsYWBDMa02evmUK1" />
- <button type="submit" onclick="copyToClipboard()" class="btn">Copy Key</button>
- </form>
- </div>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement