~/talk

iframes: A look in to the black heart of the browsers

Talkat JSConf EU 2012 · 2012-10-06..10-07· [web-platform, javascript]
slides:none on file

Built a live-preview editor called JS Bin that injects HTML into dynamic iframes and relies on document.close for load events, shows that an iframe window only exists once inserted and is destroyed when removed, and uses injected noops to prevent alerts and removed autofocus to stop focus stealing. Practical hacks include Comet streaming via hidden iframes, a remote console using postMessage and iframe fallbacks, cross‑domain bootstrapping via window.name, phone keyboard workarounds, and horror stories like the Samsung S3 remote‑wipe and iOS MP3 autoplay.

AI-written summary · about

  1. 0:00Introduction to iframes
  2. 2:03History of frames
  3. 4:15Iframe hacks and Comet
  4. 7:21Dynamic iframe management
  5. 11:05Live rendering techniques
  6. 15:43Advanced iframe communication
  7. 18:45Cross-domain and messaging
  8. 23:25Manifests and new hacks
  9. 27:45Modern iframe features
~/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.