Skip to content

Instantly share code, notes, and snippets.

javascript:(function(){var a=document.getElementById("productTitle").textContent,b=document.URL.match("(dp|product)/([0-9a-zA-Z]{10})")[2],c='{{< amazon asin="'+b+'" title="'+a.trim()+'" >}}';navigator.clipboard.writeText(c).then(()=>{window.alert('coppied:\n'+c)})})();