只爲你所有一個簡單的問題...谷歌和Javascript中加載內容
我有一個jsFiddle here,如果我們這樣從外部API頁面的加載加載內容將谷歌只是想知道能夠看到這些信息?
這裏是小提琴的代碼...
<p>Property name <span id="property_name"></span></p>
function propInfo(propertyName) {
document.getElementById("property_name").innerHTML = propertyName;
}
訪問這個API是從我手中 - 有人告訴我這樣做是目前通過Javascript的唯一途徑。
我們顯然希望我們的網頁在Google上正確顯示,所以對此有任何幫助都會很棒!
[請問Google crawl javascript?](http://stackoverflow.com/questions/9711762/does-google-crawl-javascript)和[Google Blog](http://googlewebmastercentral.blogspot.co .uk/2014/05/understanding-web-pages-better.html)以及[網站管理員堆棧交換](http://webmasters.stackexchange.com/questions/5653/does-the-google-spider-render-javascript )。 -1缺乏研究 – CodingIntrigue
我實際上一直在研究它,並沒有一個明確的答案,所以認爲你的幫助很多這裏可能能夠給你的意見 - 我們正試圖提供足夠的證據反對使用它 –
道歉,如果我來橫跨嚴酷。我所鏈接的Google博客涵蓋了我認爲的很好。 – CodingIntrigue