home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 March / PCWorld_2005-03_cd.bin / komunikace / kmeleon / kmeleon09.exe / flashblock.jar / content / flashblock / neil.txt < prev    next >
Text File  |  2004-12-03  |  796b  |  13 lines

  1. Neil    Lor: you make your xbl dispatch a custom event
  2. Neil    Lor: your extension has a capturing event listener for that event
  3. Neil    Lor: it calls preventDefault() on the event if the site is not in the whitelist
  4. Neil    Lor: and also stopPropagation() to stop the site seeing the event
  5. Neil    Lor: then, the xbl can call getPreventDefault() on the event to see if the flash should be blocked
  6. Neil    Lor: this still lets the site see if its flash is blocked, of course, because it can do the same thing
  7.  
  8.  
  9.     rue2    see, it's not just "an object". it's an object created with a constructor that formed closures for all the member-functions its constructor instantiated
  10.     rue2    oh
  11.     rue2    yea- i did solve that
  12.     rue2    if you load a subscript via the subscriptLoader, and set the object as a "const" it can't be deleted
  13.