Skip to content
forked from Rob--W/crxviewer

Chromium extension to view the source code of other Chrome / Opera 15 extensions.

Notifications You must be signed in to change notification settings

SinSiXX/crxviewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrome extension source viewer (CRX Viewer)

View the source code of any Chrome extension in the Chrome Web store without installing it.
https://chrome.google.com/webstore/detail/chrome-extension-source-v/jifpbeccnghkjeaalbbjmodiffmgedin

Also available for Opera and Opera's add-on gallery.
https://addons.opera.com/extensions/details/extension-source-viewer/

Online demo (select a .crx / .nex / .zip from your disk to try out the viewer):
https://robwu.nl/crxviewer/

Features

This Chrome extension adds a button to right of the omnibox when a CRX file has been detected. By default, this is only enabled on the Chrome Web Store. Upon clicking the button, two actions become available:

  • Download extension as zip file
  • View source

The "View source" option opens a new tab with a simple viewer, with the following features:

  • Download-as-zip at the upper-right corner.
  • List of file names, and the option to filter files with a regular expression.
  • Automatic beautification (formatting) of code
  • Syntax highlighting
  • Image preview

As mentioned before, this extension activates on the Chrome Web Store by default. It's also possible to view the source code of Chrome and Opera 15+ extensions that are hosted somewhere else. Further, there's an option to show a contextmenu entry on links whose target is a Chromium extension. Both features can be toggled at the options page.

The "View source for all extensions" only shows a button when it detects the download of an extension. This detection is implemented through MIME-type sniffing using the declarativeWebRequest API, which is only available to Chromium beta/dev users (though it should soon be available to the general public).

Copyright

(c) 2013 - 2014 Rob Wu gwnRob@gmail.com (https://robwu.nl/)

About

Chromium extension to view the source code of other Chrome / Opera 15 extensions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published