how-to-view-source-of-chrome-extension

https://gist.github.com/paulirish/78d6c1406c901be02c2d

Option 1: Command-line download extension as zip and extract
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.

Option 2: Use the CRX Viewer extension
The Chrome extension source viewer is open source (github repo) and makes this super easy.

 

Option 3: View source of locally installed extension
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.
Mapping between locally installed extension IDs and names
On about:extensions, turn on Developer Mode and you'll see IDs under each entry
Inside the Extensions/ folders, the manifest.json has a readable name field
image

 

转载于:https://www.cnblogs.com/johnsonshu/p/9736170.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值