# 紅色死神網誌和無名紅色死神改版 # 用 js 把數字加千分位的方法

```function toThousands(num) {
var num = (num || 0).toString(), result = '';
while (num.length > 3) {
result = ',' + num.slice(-3) + result;
num = num.slice(0, num.length - 3);
}
if (num) { result = num + result; }
return result;
}
```

# Pokémon GO AR 照上新聞 # Pokemon GO 寵物小精靈 AR 影相 GO Snapshot　識玩原來好搞笑

Pokemon GO 寵物小精靈 AR 影相 GO Snapshot　識玩原來好搞笑

Pokemon GO 加入了 AR 影相功能 GO Snapshot，不過一般玩家未必有太多時間研究新功能的玩法。台灣的 Pokemon GO 資深玩家，Pokemon-info網站的站主「紅色死神」江舜智，就以 GO Snapshot 拍攝了不少非常搞笑的小精靈照片，在網站刊登跟網友分享。

# 笑死！寶可夢惡搞AR照這樣拍　網友：真的很會 # 解決背景使用 SVG 會自動變得跟內容一樣高的問題 # 替你的 Blogger 加上圖片 lazyload 效果

Lazyload 是許多網站都會加上避免網頁開啟時一次讀取太多圖片的效果，在 WP 上有 plugin 可以安裝使用，要在 blogger 上使用的話相較就沒有那麼簡單。

```//c.failurelimit){return false}}});var f=a.grep(d,function(a){return!a.loaded});d=a(f)})}this.each(function(){var b=this;if(undefined==a(b).attr("original")){a(b).attr("original",a(b).attr("src"))}if("scroll"!=c.event||undefined==a(b).attr("src")||c.placeholder==a(b).attr("src")||a.abovethetop(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.rightoffold(b,c)){if(c.placeholder){a(b).attr("src",c.placeholder)}else{a(b).removeAttr("src")}b.loaded=false}else{b.loaded=true}a(b).one("appear",function(){if(!this.loaded){a("").bind("load",function(){a(b).hide().attr("src",a(b).attr("original"))[c.effect](c.effectspeed);b.loaded=true}).attr("src",a(b).attr("original"))}});if("scroll"!=c.event){a(b).bind(c.event,function(c){if(!b.loaded){a(b).trigger("appear")}})}});a(c.container).trigger(c.event);return this};a.belowthefold=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).height()+a(window).scrollTop()}else{var d=a(c.container).offset().top+a(c.container).height()}return d<=a(b).offset().top-c.threshold};a.rightoffold=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).width()+a(window).scrollLeft()}else{var d=a(c.container).offset().left+a(c.container).width()}return d<=a(b).offset().left-c.threshold};a.abovethetop=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).scrollTop()}else{var d=a(c.container).offset().top}return d>=a(b).offset().top+c.threshold+a(b).height()};a.leftofbegin=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).scrollLeft()}else{var d=a(c.container).offset().left}return d>=a(b).offset().left+c.threshold+a(b).width()};a.extend(a.expr[":"],{"below-the-fold":"\$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!\$.belowthefold(a, {threshold : 0, container: window})","right-of-fold":"\$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!\$.rightoffold(a, {threshold : 0, container: window})"})})(jQuery);\$(function(){\$("img").lazyload({placeholder:"你的讀取動畫網址",effect:"fadeIn",threshold:"-50"})})//]]>
```
{"ft_lang_label":"__label__zh","ft_lang_prob":0.74285597,"math_prob":0.9824095,"size":9654,"snap":"2019-13-2019-22","text_gpt3_token_len":6874,"char_repetition_ratio":0.096165806,"word_repetition_ratio":0.120829575,"special_character_ratio":0.25740626,"punctuation_ratio":0.13760446,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9682316,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,3,null,3,null,3,null,2,null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2019-03-19T03:30:18Z\",\"WARC-Record-ID\":\"<urn:uuid:6204cf76-fa7c-43c7-aa40-23f9abab5899>\",\"Content-Length\":\"238454\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:8378b157-dcff-4a9e-a50f-71a3b3f638e3>\",\"WARC-Concurrent-To\":\"<urn:uuid:b79141de-eee4-4d9b-a4e7-5e3f970948d1>\",\"WARC-IP-Address\":\"104.31.77.196\",\"WARC-Target-URI\":\"http://blog.wingzero.tw/2019/\",\"WARC-Payload-Digest\":\"sha1:BAXX4GLGCCNMEKJGVTTMXBFMVVLOLQOH\",\"WARC-Block-Digest\":\"sha1:S47ZV42SAXDP2BMCWWEXRNEMSMHQ6SSS\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2019/CC-MAIN-2019-13/CC-MAIN-2019-13_segments_1552912201885.28_warc_CC-MAIN-20190319032352-20190319054352-00093.warc.gz\"}"}