如何在 iPadPro 上調試 HTML5 頁面 All In One


如何在 iPadPro 上調試 HTML5 頁面 All In One

iPadOS / iOS

UA

iPadOS / CPU OS

Mozilla/5.0 (iPad; CPU OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/87.0.4280.77 Mobile/15E148 Safari/604.1

iOS / CPU iPhone OS


Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/87.0.4280.77 Mobile/15E148 Safari/604.1

navigator.userAgent;
"Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1"

debug HTML5

  1. USB 連接 iPad Pro,
  2. 開啟 Safari 授權
  3. ...

要保證 iPhone/iPad 能使用 USB 與電腦正常連接
在 iOS 中打開調試模式:設置->Safari->高級->Web 檢查器

https://www.cnblogs.com/xgqfrms/p/11129893.html

BrowserSync

# step 1
$ npm install -g browser-sync
# OR
$ npm i -g browser-sync


# step 2
$ cd build

# step 3
$ browser-sync start --server --files "./*.html"


$ browser-sync start --server --files "./*.*"
$ browser-sync start --server --files "./*.js"
$ browser-sync start --server --files "./*.css"

https://github.com/xgqfrms-GitHub/browser-sync

refs

https://cdn.xgqfrms.xyz/UA/index.html



©xgqfrms 2012-2020

www.cnblogs.com 發布文章使用:只允許注冊用戶才可以訪問!

原創文章,版權所有©️xgqfrms, 禁止轉載 🈲️,侵權必究⚠️!



免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM