cd /news/developer-tools/how-to-view-source-of-a-chrome-exten… · home topics developer-tools article
[ARTICLE · art-10498] src=gist.github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

How to view-source of a Chrome extension

The article explains two methods to view the source code of a Chrome extension. The first method involves using a command-line tool to download and unzip the extension's CRX file directly from Google's update server. The second method describes locating the extension's installed files in the user's local Chrome profile directory under the `Extensions/` subfolder.

read1 min views23 publishedAug 26, 2015

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin # change this ID curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" unzip -d "$extension_id-source" "$extension_id.zip" Thx to crxviewer for the magic download URL. The Chrome extension source viewer is open source (github repo) and makes this super easy.

  • Find your Chrome local profile directory. Open chrome://version/ and find the "Profile Path:` field. Open that folder up. - Open the Extensions/ subfolder - All your extensions are here, with typically readable source.
  • On about:extensions , turn on Developer Mode and you'll see IDs under each entry - Inside the Extensions/ folders, the manifest.json has a readablename field
── more in #developer-tools 4 stories · sorted by recency
── more on @chrome 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-view-source-o…] indexed:0 read:1min 2015-08-26 ·