Skip to content

Copy button does not work #12

@timothy-mckenna

Description

@timothy-mckenna

Thank you for this project!
RE js/text-obfuscator.js

function copyText() {
    var copyText = document.getElementById("output");
    copyText.select();
    copyText.setSelectionRange(0, 99999);
    document.execCommand("copy");
}

Would these references explain why copyText() is not successful?
https://stackoverflow.com/questions/45117731/javascript-execcommandcopy-not-working
https://stackoverflow.com/questions/74774213/how-to-add-clipboard-write-permission-to-navigator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions