華文網的蟲蟲
突然發現20100608, 部落格每個網頁的最後, 都被加上了一段javascript.
正規的網頁最後兩個tags, 應該就是</body></html>在html tag之後, 應該是沒有其他的code才對。
依照Google analytics的指示, 這段code應該加在</body>的前面。 為什麼會被加在後面呢?
Who is frederic@funwich? 趕快出面解釋一下吧!
========================================================
</body>
</html><!– added by frederic@funwish 20100608 : add google analytics –>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-16853511-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!– end added by frederic@funwish 20100608 : add google analytics –>
Posted in System Issues by ucs with comments disabled.