Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Mobile web debugging
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Gregers Rygg
October 20, 2011
Programming
140
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mobile web debugging
My tools and tricks to develop for the mobile web
Gregers Rygg
October 20, 2011
Other Decks in Programming
See All in Programming
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
170
Lessons from Spec-Driven Development
simas
PRO
0
220
Creating Composable Callables in Contemporary C++
rollbear
0
170
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1k
LaravelLive Japan の裏方のすべて — 第188回 PHP勉強会@東京 (2026-06-24)
suguruooki
2
120
技術的負債解消で開発者の未来を開く- AIの力でコード刷新
kmd2kmd
0
120
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
800
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
210
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
180
The ROI of Quarkus for Spring Boot Applications
hollycummins
0
140
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
230
ふつうのFeature Flag実践入門
irof
8
4.2k
Featured
See All Featured
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
400
Docker and Python
trallard
47
3.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.7k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
170
Navigating Team Friction
lara
192
16k
Navigating Weather and Climate Data
rabernat
0
240
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
400
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
KATA
mclloyd
PRO
35
15k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
201
75k
Transcript
Mobile web debugging My tricks to develop for the mobile
web By: Gregers Rygg Twitter: @gregersrygg
Desktop • ”All” have developer tools • Most are very
good
Inspect HTML
Debug JavaScript
Network analysis
Console JavaScript profiling Performance tips Modify CSS/JavaScript on the fly
Memory inspection Database explorer +++
Possible in Internet Explorer 6…
…usable in Internet Explorer 8+
Console Inspect HTML Debug JavaScript Network analysis JavaScript profiling Performance
tips Modify CSS/JavaScript on the fly Memory inspection Database explorer +++ Desktop
Inspect HTML Debug JavaScript Network analysis JavaScript profiling Performance tips
Modify CSS/JavaScript on the fly Memory inspection Database explorer iPhone/Android (built-in) Console
JavaScript on the fly JavaScript profiling Performance tips Memory inspection
Opera Mobile + Dragonfly Console Inspect HTML Debug JavaScript Modify CSS Database explorer? Network analysis
Yay!, but… …unfortunately not much used (for m.finn.no)
Debug JavaScript Network analysis JavaScript profiling Performance tips Memory inspection
iPhone/Android (Weinre) Console Inspect HTML Modify CSS/JavaScript on the fly Database explorer
Tip #1 • Connect to both WiFi and ethernet
HP ”Elite”Book • WiFi turns off when ethernet is connected
• BIOS Settings (reboot + ESC, then F10) • System Configuration – Built-In Device Option • Disable LAN/WLAN switching
Tip #2 • Webkit Inspector Remote (Weinre) • Demo time!
Weinre install http://phonegap.github.com/weinre/ Installing.html $ cat ~/.weinre/server.properties boundHost: -all- httpPort:
8001
Weinre install • Start server • Add bookmarklet • Increase
Auto-Lock time (iOS setting) to prevent disconnect
<c:if test="${!empty param.weinre}"> <script src="http://${pageContext.request.serverName}:<c:out value="${param.weinre}"/>/target/target-script-min.js#anonymous"> </script> </c:if> page.jsp?weinre=8001
<c:if test="${!empty param.weinre}"> <script src="http://${pageContext.request.serverName}:<c:out value="${param.weinre}"/>/target/target-script-min.js#anonymous"> </script> <script> window.console &&
(window.onerror = function(e) { console.error(e); }); </script> </c:if> page.jsp?weinre=8001
Tip #3 Charles Debugging Proxy
Tip #4 <style type="text/css” media = "${param.debug != 'mobile' ?
'only screen and (max-device-width: 480px)' : 'screen'}” >
Link to all tools mentioned ++ http://goo.gl/FgOg7