Brian LePore's Work
Mobile Apps
- Best X of Y — Handy little app that helps you randomly decides between the best X of Y runs.
- All Heroes Comics — Access content for the All Heroes Comics comic book store in Rochester, NY.
Firefox browser extensions
- Local Load — an extension that uses three HTML5 compliant custom data attributes to tell the browser that this script can instead be loaded from local disk.
Mozilla Search Plugins
Mozilla (all versions) Sidebars
Opera/Mozilla 1.5+/Firebird/Firefox Sidebars
JavaScript
To DOM
To DOM accepts a string and attempts to convert it into an array of DOM objects. This offers an alternative method of changing content of an element, rather than using innerHTML. There is an example of To DOM available. In this test, an Ajax call is made to the server which serves up a paragraph, a form, and then a final element. This is particularly useful because:
When you try to import
responseText
into theinnerHTML
of an element, and theresponseText
contains forms, or the element is a form, Explorer throws an error.