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
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
210
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
150
Webフレームワークの ベンチマークについて
yusukebe
0
180
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
180
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
190
Creating Composable Callables in Contemporary C++
rollbear
0
170
並列実装の現場、2ヶ月間実務でAIを使い倒したAIもPCも私も限界が近い
ming_ayami
0
130
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
560
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
4
810
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.5k
Snowflake Summitでの新機能 CoCo / CoWork / snowflake-summit-2026-overall-what-new-coco
tatsuhiro
1
180
Even G2とAWSで推しのエージェントを召喚しよう!
har1101
1
120
Featured
See All Featured
New Earth Scene 8
popppiees
3
2.4k
Making the Leap to Tech Lead
cromwellryan
135
9.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
870
Crafting Experiences
bethany
1
190
For a Future-Friendly Web
brad_frost
183
10k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
The Cult of Friendly URLs
andyhume
79
6.9k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
240
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