Liu Song’s Projects


~/Projects/chrome-devtools

git clone https://code.lsong.org/chrome-devtools

Commit

Commit
1c17cc625fa781e6b4f8a6f950429a423bf83fa3
Author
redhoodsu <[email protected]>
Date
2022-07-17 21:33:43 +0800 +0800
Diffstat
 README.md | 9 +++++++++
 README_CN.md | 11 +++++++++++

docs: embedded mode


diff --git a/README.md b/README.md
index b5ccbee8a63ca3102123dbd11bf7189e1412dae4..cbf3894a1e1aed14c2f1ba0cc9296e272d40d409 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,15 @@
 Then browse to localhost:8080 to start debugging your page.
 
 # Chii
+[npm-url]: https://npmjs.org/package/chii
+
+```html
+<script src="//host-machine-ip:8080/target.js" embedded="true"></script>
+```
+
+Visit [https://chii.liriliri.io/test/demo.html?embedded=true](https://chii.liriliri.io/test/demo.html?embedded=true) to see how it works.
+
+# Chii
 # Chii
 
 * [whistle.chii](https://github.com/liriliri/whistle.chii): Whistle Chii plugin.




diff --git a/README_CN.md b/README_CN.md
index 14d26ed282030af0905eb7d79dd3f6644f351779..7669568360d88eeded8d8492b95bd4da987dbea3 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -55,7 +55,18 @@
 然后就可以访问 localhost:8080 开始调试页面。
 
 [![NPM version][npm-image]][npm-url]
+[![Build status][ci-image]][ci-url]
 
 
+[ci-url]: https://github.com/liriliri/chii/actions/workflows/main.yml
 [![NPM version][npm-image]][npm-url]
+[![License][license-image]][npm-url]
+```
+
 [![NPM version][npm-image]][npm-url]
+[npm-image]: https://img.shields.io/npm/v/chii?style=flat-square
+
+## 相关项目
+
+* [whistle.chii](https://github.com/liriliri/whistle.chii):Whistle Chii 插件。
+* [chobitsu](https://github.com/liriliri/chobitsu): Chrome 调试协议 JavaScript 实现。