~/talk

Tricks and hacks for a more native feel in a mobile browser

Talkat Mobilism 2012 · 2012-05-10..05-11· [web-platform, frontend-architecture]
slides:none on file

Concrete hacks and code-level claims: how to virtualize the browser event loop, remove the 300ms click delay by mapping touch to click with ten lines of JS, use the meta viewport and media queries to pin down the viewport, block pinch/zoom and swipe with preventDefault and user-select CSS, lock or query orientation via the screen orientation API, package with Apache Cordova / BlackBerry WebWorks for device APIs, and use location.reload(true) and remote web inspector for debugging.

AI-written summary · about

  1. 0:00Intro
  2. 0:37Web vs App
  3. 2:16Web Technologies
  4. 3:20Native vs Web
  5. 4:42Basics
  6. 6:04The viewport
  7. 7:26CSS pixels
  8. 8:32Width and Height
  9. 11:08Media Queries
  10. 13:26Events
  11. 14:54Mousedown events
  12. 16:21Touch events
  13. 18:30Example
  14. 18:57Controversy
  15. 19:07Touch event
  16. 20:40Virtual event translations
  17. 22:02User select
  18. 22:43Browser Chrome
  19. 24:32Reload Button
  20. 25:11Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.