dsh-mobile-plugin 0.5.65 → 0.5.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/extension-authoring.md +3 -1
- package/lib/client.js +579 -97
- package/lib/frpc/runner.cjs +12 -6
- package/lib/impl.js +20 -0
- package/lib/mobile/host-bridge/session-model.js +7 -2
- package/lib/mobile/mux.js +231 -0
- package/lib/mobile/permissions.js +3 -0
- package/lib/panel/index.html +12 -13
- package/lib/relay/status.js +5 -1
- package/lib/routes/control-plane.js +17 -10
- package/lib/routes/mobile-api.js +5 -1
- package/lib/shell/updater.js +4 -1
- package/package.json +1 -1
|
@@ -218,7 +218,9 @@ libs/… 你自己的库、样式、字体,相对路径引用
|
|
|
218
218
|
|
|
219
219
|
**导航是自动认的,不需要登记任何东西。** 声明了 `pageOrigin` 之后,App 会把「指向你这个
|
|
220
220
|
本源、以及它下面任何站内路径」的跳转都留在页面里(`/canvas/abc`、`?x=1`、`#hash` 都算),
|
|
221
|
-
|
|
221
|
+
**只有真的往外走的外链才交给 App 的内置浏览器打开**(官网、GitHub 这类照常能点开)。
|
|
222
|
+
页面里直接写 `<a href="https://…">` 就行,不用加任何声明、也不用调接口 —— 外链会在内置
|
|
223
|
+
浏览器里显示,既不跳去系统浏览器,也不会把扩展页本身带走。
|
|
222
224
|
|
|
223
225
|
这条判据是按「这个地址是不是你自己的」算的,不认识具体哪个扩展 —— 所以你不用申请、不用
|
|
224
226
|
等我们加白名单,声明了就自动生效。反过来说,**别指望它当成外链跳板**:到了别的域名就是
|