site/script.js

10 lines
No EOL
524 B
JavaScript

// snippet that copies the html for my button(s)
function copyButtonRegular() {
navigator.clipboard.writeText ('<a href="https://synth.download/"><img src="https://synth.download//assets/buttons/sneexy.png" alt="Sneexy" title="Sneexy"></a>');
alert("button html copied!");
}
function copyButtonCatppuccin() {
navigator.clipboard.writeText ('<a href="https://synth.download/"><img src="https://synth.download//assets/buttons/sneexy_cat.png" alt="Sneexy" title="Sneexy"></a>');
alert("button html copied!");
}