zachleat’s avatarzachleat’s Twitter Archive—№ 37,227

  1. See if you can spot the production issue caused by this analytics snippet: var analytics = window.analytics = https://t.co/MptfdNR6dx || []; I’ll give you a hint, the page also had this on it: <div id="analytics">
    1. …in reply to @zachleat
      I’ve learned that this is known as DOM Clobbering from @mikewest and wow—now it’s almost an endearing behavior based solely on the excellent name @mikewest/1387666058484518912
    2. …in reply to @zachleat
      cc @segment, your snippet needs a bit more defensive improvement!