Blogger管理後台「版面配置>新增小工具」,請挑選「設定HTML/JavaScript」,將以下的程式碼貼上到「內容」裡,完成後請按下「儲存」鈕即可。
<span id="qrcode"></span>
<script>
var img = document.createElement('img');
img.src = 'https://chart.googleapis.com/chart?chs=90x90&cht=qr&chl='
+ encodeURIComponent(document.location.href);
document.getElementById('qrcode').appendChild(img);
</script>
沒有留言:
張貼留言
請建議留言