Loading ...
Sorry, an error occurred while loading the content.

Nicely stopping ADSAFE widgets?

Expand Messages
  • adam.kumpf
    Since ADSafe widgets are basically sandboxed javascript/dom apps, is there any suggestion on how to nicely shut them down (such as an ADSAFE.stop() function)?
    Message 1 of 2 , May 10, 2010
    • 0 Attachment
      Since ADSafe widgets are basically sandboxed javascript/dom apps, is there any suggestion on how to nicely shut them down (such as an ADSAFE.stop() function)?

      For example, widgets can be added/removed at any time by the host page, but it might be nice to save some state before closing/removing a widget in case the user has modified it or interacted with it somehow.

      Any thoughts on how to play nicely with interactive, data-rich widgets?

      Cheers,
      Adam
    • Douglas Crockford
      ... You can call the widget s .remove() method.
      Message 2 of 2 , May 10, 2010
      • 0 Attachment
        --- In jslint_com@yahoogroups.com, "adam.kumpf" <adam.kumpf@...> wrote:
        > Since ADSafe widgets are basically sandboxed javascript/dom apps, is there any suggestion on how to nicely shut them down (such as an ADSAFE.stop() function)?
        >
        > For example, widgets can be added/removed at any time by the host page, but it might be nice to save some state before closing/removing a widget in case the user has modified it or interacted with it somehow.
        >
        > Any thoughts on how to play nicely with interactive, data-rich widgets?


        You can call the widget's .remove() method.
      Your message has been successfully submitted and would be delivered to recipients shortly.