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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Gregers Rygg
October 20, 2011
Programming
2
130
Mobile web debugging
My tools and tricks to develop for the mobile web
Gregers Rygg
October 20, 2011
Tweet
Share
Other Decks in Programming
See All in Programming
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
20
6.7k
dchart: charts from deck markup
ajstarks
3
990
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
SourceGeneratorのススメ
htkym
0
190
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
AI巻き込み型コードレビューのススメ
nealle
0
100
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
CSC307 Lecture 01
javiergs
PRO
0
690
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
180
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
140
AgentCoreとHuman in the Loop
har1101
5
220
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
100
Featured
See All Featured
The Curse of the Amulet
leimatthew05
1
8.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
My Coaching Mixtape
mlcsv
0
46
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
50
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Un-Boring Meetings
codingconduct
0
200
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Scaling GitHub
holman
464
140k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
It's Worth the Effort
3n
188
29k
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