mrclay.org

song for a future generation

Posts from: June 2007

27 Jun 2007

Hacking a 3rd party script for bookmarklet fun

A few weeks ago I created a simple bookmarklet that loads del.icio.us’s PlayTagger script into the current page. This post covers how some problems with this script were worked through. Too late The first challenge was that PlayTagger was designed to initialize itself (let’s call this method “init“) on window.onload: If a user fired the

[...read the post]
In Bookmarklets How To Javascript Web DesignJun2007
25 Jun 2007

Kill these DOM0 shortcuts

A problem a decade in the making You can refer to a form’s elements in your code by using the element’s name (from the NAME attribute) – an ancient Javascript spec. This means myForm.myElement is a shortcut for myForm.elements['myElement']. I’m sure this was seen as handy and harmless at the time, but the problem is

[...read the post]
In Javascript Web DesignJun2007
  • Steve Clay's thoughts on programming, music, public policy and other junk. Steve lives in Gainesville, FL, USA; loves Kathleen, Rubydog; and plays guitar, bass, piano and drums. Moose's Live a Little Love a Lot is his favorite album.

    • Contact
      • steve{@}mrclay{.}org
      • IM: Google
      • IM: UFL.edu
    • Profiles & Code
      • Facebook
      • @mrclay_org
      • Delicious
      • GitHub
      • Google Code
    • Music
      • The French Horns
      • Brittle Stars
  • Categories

    • Programming
    • Policy
    • Music
    • General
  • Subscribe RSS

  • Tags

    4th Amendment Absurdity Audio Production Behavioral Science Bookmarklets Charter Cities Computer Science Criminal Justice CSS Dependency Injection Drug Policy Economics Elgg Gainesville How To Human Rights IDE Javascript Life Linux Music Music Transcriptions Netbeans Noteflight Opera Optimization PHP PhpStorm Politics Random Ideas Raves Records Shibboleth Shows Skateboarding SketchUp SQL TechTalk Trade TV UI Usability Videos Web Design Zend

  • Archives

    • 2013 J F M A M J J A S O N D
    • 2012 J F M A M J J A S O N D
    • 2011 J F M A M J J A S O N D
    • 2010 J F M A M J J A S O N D
    • 2009 J F M A M J J A S O N D
    • 2008 J F M A M J J A S O N D
    • 2007 J F M A M J J A S O N D
    • 2006 J F M A M J J A S O N D
    • 2005 J F M A M J J A S O N D
    • 2004 J F M A M J J A S O N D
    • 2003 J F M A M J J A S O N D
    • 2002 J F M A M J J A S O N D
    • 2001 J F M A M J J A S O N D

Thank you, WordPress & Naoko. | Entries RSS | Comments RSS

admin