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巻き込み型コードレビューのススメ
nealle
0
130
CSC307 Lecture 06
javiergs
PRO
0
680
ThorVG Viewer In VS Code
nors
0
760
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
Fluid Templating in TYPO3 14
s2b
0
130
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
980
Package Management Learnings from Homebrew
mikemcquaid
0
210
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
CSC307 Lecture 09
javiergs
PRO
1
830
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Darren the Foodie - Storyboard
khoart
PRO
2
2.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
A Soul's Torment
seathinner
5
2.2k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Building AI with AI
inesmontani
PRO
1
680
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
How STYLIGHT went responsive
nonsquared
100
6k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
170
The Curious Case for Waylosing
cassininazir
0
230
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
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