Javascript tinyhippos 注入脚本的目的是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14379856/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-24 16:35:18  来源:igfitidea点击:

What's the purpose of tinyhippos-injected script?

javascriptgoogle-chrome

提问by raz3r

I noticed that Google Chrome appends a little JS script before the <head>tag of any web document that I load (you can notice that if you look at the HTML code using inspect element):

我注意到谷歌浏览器在<head>我加载的任何网络文档的标签之前附加了一个小 JS 脚本(如果你使用检查元素查看 HTML 代码,你会注意到):

<script id="tinyhippos-injected">
   if (window.top.ripple) { window.top.ripple("bootstrap").inject(window, document);
</script>

Out of curiosity, what does it do? Googleing around did not help.

出于好奇,它有什么作用?谷歌搜索没有帮助。

回答by sv_in

I believe you have installed Ripple Emulator (Beta)which is adding this script

我相信您已经安装了添加此脚本的Ripple Emulator (Beta)

回答by bantya

This script is inserted by Ripple Emulator(Beta) chrome extension, if it is enabled.Chrome Store Pic

此脚本由 Ripple Emulator(Beta) chrome 扩展程序插入(如果已启用)。Chrome 商店图片

Ideally it can be disabled by opening Ripple Mission Control, but it doesn't do that. Ripple Mission Control

理想情况下,它可以通过打开 Ripple Mission Control 来禁用,但它不会这样做。 Ripple Mission Control

To disable it for sure, you must disable Ripple Emulator(Beta) from chrome://extensions/ enter image description here

要确定禁用它,您必须从 chrome://extensions/ 禁用 Ripple Emulator(Beta) enter image description here

回答by CharliePrynn

After looking into this further, please see this question.

进一步研究后,请参阅此问题。

Uncaught SyntaxError in JS and possibly Wordpress

JS 和 Wordpress 中未捕获的 SyntaxError

It is the Blackberry emulator.

它是黑莓模拟器。