Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is "chrome-extension://"

I found the some strange <script/> tags on a site:

<script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/document_iterator.js"></script>
<script src="chrome-extension://lifbcibllhkdhoafpjfnlhfpfgnpldfl/find_proxy.js"></script>
...

I haven't been able to find much information on this, but I highly doubt this is actually related to Google Chrome since this site in particular is still using <table>s for layout, and the source in question was retrieved with curl not a graphical web browser.

So,

  1. What on earth is this?
  2. What is chrome-extension://
  3. Why is it using lifbcibllhkdhoafpjfnlhfpfgnpldfl as a directory name
  4. Why is it pretending to be valid URL to a javascript file?
  5. Why would I need find_proxy or document_iterator

Solved. As far as I know...

chrixian was right, It seems that only on this and a few select other pages, someone had re-saved them from Chrome's source-view with the Skype extension installed.

Thanks everyone for all your help, +1's for all! enjoy!

like image 608
Hawken Avatar asked Oct 18 '12 21:10

Hawken


People also ask

What are Chrome extensions used for?

Extensions are mini programs installed in the Google Chrome browser to give you added features and abilities. Extensions can easily be accessed using a button next to the address bar, which enhances the current website being viewed.

Should I allow Chrome extensions?

Extensions can be very useful in enhancing your browsing experience, but if you're not careful, they can also steal your data, change important settings in your browser, or redirect your searches to shady websites.

Should I remove Chrome extensions?

You should periodically review the extensions you've installed on Chrome, and uninstall the ones you're no longer using. This will both improve your device performance and help safeguard your data.


2 Answers

That is actually Skype Click to Call chrome extension.

Manage and view it using this link chrome://extensions/?id=lifbcibllhkdhoafpjfnlhfpfgnpldfl

enter image description here

like image 93
fedmich Avatar answered Sep 18 '22 09:09

fedmich


If you are using cURL to get the page, you're getting the HTML as it exists on the server--so I think a safe assumption would be: the author of the page initially saved the page from Chrome, he had an extension installed that inserted these script tages and lastly he didn't remove the script tags for one reason or another before putting the page on the server.

like image 20
chrixian Avatar answered Sep 21 '22 09:09

chrixian