On Mon, Apr 20, 2009 at 8:09 AM, John Resig <jere...@gmail.com> wrote: > >> 3. jQuery blows up when hosting webpage JS redefines createElement(). >> Thanks eBay, that was hilarious! This one would obviously affect any >> JS bookmarklet, but it does indicate the "hostile" environment jQuery >> could be operating in. > > Heh - how do they redefined createElement, I'm curious.
I haven't looked at eBay javascript in years, so this info is a little dated, but IIRC, they moved all of the normal functions to document.standardFOO. So document.standardCreateElement was the normal create element method. Although in terms of environments actively hostile like remapping createElement rather than passively hostile like modifying to object.prototype, I feel like it's probably better to take eBay's machinations into account when writing a bookmarklet for eBay. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---