82

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):

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

raz3r
  • 3,071
  • 8
  • 44
  • 66

3 Answers3

143

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

sv_in
  • 13,929
  • 9
  • 34
  • 55
  • Yeah it turned out it was that. I didn't think about Chrome extensions. – raz3r Jan 17 '13 at 13:14
  • 33
    How annoying - it injects even when "disabled". – Steve Bennett May 24 '13 at 00:30
  • 1
    @SteveBennett, I don't think so, I have Ripple Emulator disabled on Chrome Extensions and it didn't injects the script. – Aryo Jan 01 '14 at 02:37
  • 4
    Haha I thought I was being hacked!! – maxisme Feb 21 '14 at 11:58
  • What's funny about this is I just received an email from a colleague and the subject/summary had this script in it. It looks like the extension is forcing its script injection into whatever iframe her webmail client is using to compose emails. – Andy E Nov 13 '14 at 09:13
  • @SeanMontana Not just normal Hippos but tiny Hippos! – Roel Apr 22 '16 at 12:50
  • This actually doesn't answer the question about the purpose of the script. Ripple adds it, but why? Apparently it has something to do with XHR. – Mathieu Renda Aug 16 '16 at 07:00
4

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

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

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

bantya
  • 576
  • 11
  • 23
  • Or you can use an extension manager like Extensity that allows you to enable and disable any of your extensions in a nice neat list. I love it, superuser for your chrome extensions. – MistyDawn Aug 16 '19 at 14:52
2

After looking into this further, please see this question.

Uncaught SyntaxError in JS and possibly Wordpress

It is the Blackberry emulator.

Community
  • 1
  • 1
CharliePrynn
  • 3,034
  • 5
  • 40
  • 68