检测谷歌即时的SERP负载完成负载、SERP

由网友(风烟倦)分享简介:我问same提问年前,但遗憾的是,答案似乎不再工作。I asked the same question years ago, but unfortunately the answer no longer seems to work.我已经建立了修改养老金计划的扩展,但code似乎不再工作。I've built a...

我问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.

阅读全文

相关推荐

最新文章