Skip to content

Commit 1665c53

Browse files
committed
doc(ext): update README
1 parent bf8ee15 commit 1665c53

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

extension/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
[![Chrome Web Store Version](https://img.shields.io/chrome-web-store/v/jgiapjeogionjfbonpiamipcedcnohha)](https://chromewebstore.google.com/detail/chrome-inspector-sync/jgiapjeogionjfbonpiamipcedcnohha)
2+
3+
By CDP's design, DevTool is a separated client like the one wrapped by `Inspector`, and each client maintains its own [Command Line API](https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#method-evaluate) like $0, so we must inject some code in browser's DevTool to get it. That's why this extension is needed.
4+
5+
## TODO
6+
17
Can be replaced by eval in devtool page? not sure compatibility and limitation.
28
https://github.com/ChromeDevTools/chrome-devtools-mcp/commit/796aed72b7126ed4332888ffbc06d6cb678265ef

0 commit comments

Comments
 (0)