搜索引擎如何抓取Javascript?

编程入门 行业动态 更新时间:2024-10-10 12:18:34
本文介绍了搜索引擎如何抓取Javascript?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如果我使用jQuery document.ready向图像中添加随机关键字alt attrb(认为该页面已经加载),它将如何影响搜索引擎?

If I add random keywords alt attrb to the images using jQuery document.ready (thinking that the page is already loaded), how does it affect search engines?

搜索引擎会完全获得我用任何JavaScript添加的alt attrb吗?如果没有,它怎么能理解通过JavaScript发送的Ajax调用?

Will the search engines get the alt attrb that I added with any JavaScript at all? If not how come it can understand Ajax calls sent via JavaScript?

我想将alt attrb添加到客户站点中没有任何图像的图像中,以防它们忘记放置alt文本. jQuery将用关键字替换空的关键字.这可能吗?

I want to add the alt attrb to images that don't have any in my client's site, in case they forget to put an alt text. jQuery will replace the empty ones with keywords. Is this possible?

推荐答案

到现在,Google和其他搜索引擎仍然无法读取通过javascript创建的脚本 您可能需要使用其他脚本,例如php

until now, Google and other search engines still can not read the script created from a javascript you may need to use other scripts such as php

更多推荐

搜索引擎如何抓取Javascript?

本文发布于:2023-11-01 00:46:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1547755.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:搜索引擎   Javascript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!