画像をクリックしたらGyazoに遷移するHTML
2022/5/14 11:23:00
javascript: (()=>{
const html = `<a href = "${location.href}">\n <img src="${location.href}/thumb/300#.jpg"/>\n</a>`;
if( navigator.clipboard.writeText(html) ){
alert(`thumbneil code copied`);
} else {
alert(`error`);
}
})();
javascript: alert(`<a href = "${location.href}"><img src="${location.href}/thumb/300#.jpg"/></a>`)