![](/img/trans.png)
[英]Extract search engines' keywords with javascript and HTTP referer
[英]does text contained in arguments to a javascript function get targeted as keywords for search engines?
我正在為某個網頁執行seo。 該頁面包含一個腳本標簽,該標簽調用在外部javascript文件中定義的javascript函數。 該函數將一個對象作為參數,該對象具有與頁面主題相關的文本。 因此,腳本如下所示:
<script>
javascriptFunction({"aKey": ["imagefile.jpg", "some text here which will be displayed in the browser"], "bKey": ["anotherimage.jpg", "more text"]});
</script>
Google是否會使用function參數中的文本作為關鍵字來確定此頁面與特定搜索的相關性? 上面的文字“此處將在瀏覽器中顯示的一些文字”會以任何方式影響google搜索結果嗎?
感謝您的任何見解
哎呀。 在尋找自定義搜索,而不是索引!
Google
可以用JS / AJAX讀取注釋,但是JavaScript中的所有內容均不受索引的限制。
http://searchengineland.com/google-can-now-execute-ajax-javascript-for-indexing-99518
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.