检测谷歌即时的SERP负载完成 [英] Detecting Google Instant's SERP load completion

查看:187
本文介绍了检测谷歌即时的SERP负载完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我问<一href="http://stackoverflow.com/questions/15542052/how-to-detect-that-google-instant-page-has-loaded-completely">same提问年前,但遗憾的是,答案似乎不再工作。

I asked the same question years ago, but unfortunately the answer no longer seems to work.

我已经建立了修改养老金计划的扩展,但code似乎不再工作。

I've built an extension that modifies the SERPs, but the code no longer seems to work.

如何才能延长检测,谷歌即时搜索已经完成并显示结果?

How can an extension detect that Google Instant search has been performed and results displayed?

推荐答案

答案仍然是一样的在你的previous之一(删除)的答案 - DOM突变的听众。你定义你在找什么样的节点进行,并且反应,因此被插入。

The answer would still be the same as the (deleted) answer on your previous one - DOM Mutation listeners. You define what kind of node you're looking for, and react to it being inserted.

此后,基于事件的方法成为德precated,而新的方式来做到这一点是的 MutationObserver

Since then, event-based approach became deprecated, and the new way to do it is MutationObserver.

您可能也想看看 mutation-总结

You may also want to look at the mutation-summary library.

这篇关于检测谷歌即时的SERP负载完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆