• Stars
    star
    1,245
  • Rank 36,090 (Top 0.8 %)
  • Language
    JavaScript
  • License
    Mozilla Public Li...
  • Created almost 11 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Add-on / web app to view the source code of Chrome / Firefox / Opera 15 extensions and zip files.

Chrome extension source viewer (CRX Viewer)

View the source code of any Chrome extension in the Chrome Web store without installing it.
https://chromewebstore.google.com/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/

And also available for Firefox and addons.mozilla.org (WebExtensions and other Firefox addon types). https://addons.mozilla.org/firefox/addon/crxviewer/

Online demo (select a .crx / .nex / .zip / .xpi from your disk or a URL 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. This button appears in the following extension stored:

  • Chrome Web Store
  • Opera add-ons gallery
  • Firefox add-ons gallery
  • Thunderbird add-ons gallery
  • Microsoft Edge Addons store

Upon clicking the button, two actions become available:

  • Download extension as zip file
  • View source

The default action (showing the above options) can be changed via the "Primary action on click" menu that appears when you right-click on the extension button.

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

  • Download-as-zip and download-as-crx at the upper-right corner.
  • List of file names, and the option to filter files with a regular expression.
  • Find files containing a string, or with content matching a regular expression.
  • Quickly jump between search results, or from/to a specific line.
  • Automatic beautification (formatting) of code
  • Syntax highlighting
  • Image preview
  • Show hashes (md5, sha1, sha256, sha384, sha512) of the file content.
  • View content of embedded zip files.
  • Download Chrome Web Store extensions for a different platform (e.g. Chrome OS or NaCl).
  • View the contents of any URL or zip file.
  • Permalink to file and search result within a zip or extension file.

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

Copyright

(c) 2013 - 2023 Rob Wu [email protected] (https://robwu.nl/)

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

More Repositories

1

cors-anywhere

CORS Anywhere is a NodeJS reverse proxy which adds CORS headers to the proxied request.
JavaScript
7,880
star
2

dont-track-me-google

Firefox and Chrome extensions to prevent Google from making links ugly.
JavaScript
424
star
3

extension-dev-tools

Tools to ease development and deployment of browser extensions
Shell
99
star
4

cookie-manager

Cookie Manager for Firefox (Desktop/Android), Chrome. Supports viewing and editing of cookies and private cookies.
JavaScript
97
star
5

chrome-api

Polyfills, libraries and patches to aid Chrome extension developers.
JavaScript
93
star
6

display-anchors

Display #Anchors offers an easy way to see all (invisible) anchors in a page, to make it easier to link to a specific part of a webpage.
JavaScript
86
star
7

open-in-browser

A browser extension that offers the ability to open files directly in the browser instead of downloading them.
JavaScript
81
star
8

Chrome-Extension-Reloader

Adds a button which reloads a selected Google Chrome extension on click.
JavaScript
65
star
9

https-by-default

Use HTTPS by default for navigations from the location bar in Chrome / Firefox.
JavaScript
63
star
10

proxy-from-env

A Node.js library to get the proxy URL for a given URL based on standard environment variables (http_proxy, no_proxy, ...).
JavaScript
49
star
11

canvas-interceptor

A tool to automatically create test cases to aid <canvas> debugging
JavaScript
48
star
12

stackexchange-notifications

Realtime desktop notifications for Stack Exchange sites.
JavaScript
43
star
13

grab-to-pan.js

A slim library to pan scrollable containers on grab with the mouse.
JavaScript
30
star
14

zipinfo.js

Minimalistic JavaScript library to list all files in a zip file
JavaScript
28
star
15

bookmark-container-tab

Firefox add-on to add "Open in Container Tab" menu item to bookmark menus
JavaScript
27
star
16

enablelegacy-firefox-addons

Tutorial to re-enable legacy add-ons in Firefox Quantum (Firefox 57+) by making the extensions.legacy.enabled preference functional again (even on non-beta/dev versions of Firefox). Do not use this unless absolutely necessary.
JavaScript
26
star
17

browser-action-jplib

Jetpack module to add a Browser action badge to the toolbar, using the chrome.browserAction syntax from Chromium
JavaScript
21
star
18

toolbarwidget-jplib

Jetpack module to place widgets from the Firefox Add-on SDK on any toolbar
JavaScript
14
star
19

unpackjs

Reverse browserify: unpackjs is a tool to split a single file in multiple files
JavaScript
10
star
20

fritzbox-extcap-wireshark

Wireshark extcap plugin to capture network traffic from FRITZ!Box routers
Shell
8
star
21

pdfjs-telemetry

Source code of pdfjs.robwu.nl - nginx backend to collect usage statistics in a privacy-friendly way.
Python
8
star
22

testing-chrome.webstore.install

Sample code for testing chrome.webstore.install without dialogs.
JavaScript
7
star
23

firefox-android-backup-restore

Create and restore a backup of the full Android app data, fully offline.
JavaScript
7
star
24

webextanal

WebExtensions Analysis tools
JavaScript
6
star
25

nnnotifier

Firefox addon that disables native desktop notifications in favor of XUL-based notifications.
JavaScript
4
star
26

dont-slack-redir

Prevents Slack from replacing external links with "slack-redir.net"
JavaScript
3
star
27

quick-serve-out

Provides a server with a simple interface to request and receive text or a file from another endpoint in your network. The result is send to the standard output.
Python
3
star
28

fosdem-2024-ext

JavaScript
3
star
29

mkinitcpio-encswap

mkinitcpio hook to use an encrypted swap device with a temporary keyfile on the encrypted filesystem for hibernation.
Shell
2
star
30

amo-editor-tools

My tools to make life more pleasant for Add-on reviewers at AMO (Firefox add-on).
JavaScript
1
star