正在加载视频...

视频加载失败

"Inspect Element" in iOS Safari with  Actions and @Expo Config Plugins! See how ↓

50,935 次观看 • 2 年前 •via X (Twitter)

11 条评论

Evan Bacon 🥓 的头像
Evan Bacon 🥓2 年前

It works with in-app browsers too! Here’s a link from medium that I opened on 𝕏

Evan Bacon 🥓 的头像
Evan Bacon 🥓2 年前

This project isn’t stable yet, but the source I used in the video is available here It’s the same plugin I used for my Widgets, now published → ‘@bacons/apple-targets’

Light Yagami 的头像
Light Yagami2 年前

@expo Not an iOS dev but the analogy which I can draw from my knowledge of iOS ecosystem is that The app uses Safari App Extension to register itself and inject JS into already opened webpage which is like Android App Intent on crack right?

🔯 Balanced Acceleration (b/acc) ☮️ 的头像
🔯 Balanced Acceleration (b/acc) ☮️2 年前

@OmgImAlexis @expo Impressive! Hope Apple supports and doesn’t disable this.

Raul 的头像
Raul2 年前

@expo Looks great! Upcoming plugin right? I don’t see it in the repo.

wisdom 的头像
wisdom2 年前

@expo wow

ty 的头像
ty2 年前

@expo very useful

Léo 的头像
Léo2 年前

@expo 🤯 amazing

Roman Pshichenko 的头像
Roman Pshichenko2 年前

@expo This looks awesome Evan. I can imagine it might be useful to get a closer look at your own site on mobile.

Roman Pshichenko 的头像
Roman Pshichenko2 年前

@expo This actually looks like a security vulnerability. I’m imaging someone ships an app that gives you a useful tool in your browser but also executes some arbitrary JavaScript. With Apple’s App Store approval process, this seems unlikely but if new app stores ever open up… maybe

Evan Bacon 🥓 的头像
Evan Bacon 🥓2 年前

@expo The web allows script injection and blocking untrusted sources.

相关视频