Developer News – A not so neat little trick. I found this cool post on Digital Inspiration which tells you how to view the source of a Chrome extension.
Why should you view the source? Here are the two main reasons according to the blogger on DI.
There are two main reasons why you may want to read the source code of any Google Chrome extension (including Web Apps and Chrome Themes):
- If the Chrome extension has been created by an unknown developer, you want to ensure that it does what the description says and nothing more. You would not like to download a Chrome extension on your machine that tracks your search logs or browsing history.
- You are learning how to write a Chrome extension (or theme) and are curious to know how some of the good extensions have been written. The licenses of some Chrome extensions may even allow code reuse with attribution.
However many developers share their source code and invite everyone to take a look at it and contribute. But most of them won’t do that.
So, ready to grab the source of an extension? Here is the full post with easy instructions. They have listed a way to get the source of extensions installed on your Chrome, and also a nice little bookmarklet that lets you download the source without installing the extension. So cool!