Tygs / 0bin

Client side encrypted pastebin
https://0bin.net
Do What The F*ck You Want To Public License
1.37k stars 198 forks source link

Replace Flash-based copy to clipboard with HTML5 #128

Open lukem512 opened 4 years ago

lukem512 commented 4 years ago

This PR removes the old, Flash-based copy to clipboard functionality with a more modern approach: clipboardData and document.execCommand('copy').

The build process has also been updated to remove the SWF object and any relevant JavaScript.