Category Archives: JavaScript

JavaScript coding tips, optimizations, development libraries, and tools.

  1. Google Chrome 13 released to stable channel

    Google released Chrome 13 into its stable channel this morning with over 5200 revisions including Instant Pages. If your webpages are not already differentiating between attended and unattended pageviews using the Page Visibility API for site analytics (and other functions assuming live eyeballs and the opportunity for interaction with page elements) your pageview numbers are now likely inflated.

    Read more...

    • Posted on
  2. WebKit and Chrome prerendering

    Google search result pages now trigger a prefetch of top search result links in an effort to make navigating search results as easy as changing channels on your television. If Google's search algorithms determine there is a significant probability of user click-through on particular result they will instruct supporting browsers to preload the entire destination page including images, JavaScript, advertisements, and analytics. Update your web pages to be aware of the current page visibility state and track interactions, not background tasks.

    Read more...

  3. HTML5 video markup, compatibility and playback

    The emerging HTML5 specification lifts video playback out of the generic object element and into specialized video handlers. Explicit markup for audio and video places elevates moving pictures to a similar native rendering capacity as img markup we are used to but with more fine-grained details about underlying formats and compression available before loading. In this post I will dive into implementation details of HTML5 video based on currently available consuming agents and outline some of the nuances of preparing media for playback.

    Read more...

  4. iPhone web app performance

    The Exceptional Performance group at Yahoo! just released a detailed performance analysis of web applications on the iPhone. Yahoo! analyzed the full capabilities of the iPhone's Safari browser including browser cache and transfer speeds. The iPhone cache is much smaller than a desktop browser, and web developers should adjust their targets accordingly.

    Read more...

  5. Sniff browser history for improved user experience

    The social web has filled our websites with too much third-party clutter as we figure out the best way to integrate content with the favorite sites and preferences of our visitors. Intelligent websites should tune-in to the content preferences of their visitors, tailoring a specific experience based on each visitor's favorite sites and services across the social web. In this post I will teach you how to mine the rich treasure trove of personalization data sitting inside your visitor's browser history for deep personalization experiences.

    Read more...

  6. Widget Basics

    The total number of widget platforms and deployment options intimidate many newcomers. Each platform offers a unique audience and features, but widget basics remain the same across Windows Vista, Nokia S60, Google, MySpace. and more. In this post I will outline the basic components of a widget including static assets, user preferences, processing remote data, and rendering your final widget.

    Read more...

    • Posted on
  7. YUI Rich Text Editor for blog comments

    This blog's comments are now enhanced with the YUI Rich Text Editor. I'm already familiar with the YUI JavaScript library, so when this new feature was included last week's 2.3 release I decided to try out a progressive commenting enhancement. In this post I'll walk you through how to implement YUI's Rich Text Editor on your own blog with comment-specific features.

    Read more...

Subscribe:

Latest: Posts

Recently Popular

Sites: More from Niall